GrockSuperContainer constructor

const GrockSuperContainer({
  1. Key? key,
  2. Widget? child,
  3. double? height,
  4. double? width,
  5. Color? color,
  6. BorderRadiusGeometry? superBorderRadius,
  7. bool isSuperBorderRadius = true,
  8. BorderSide border = BorderSide.none,
  9. Duration animationDuration = const Duration(milliseconds: 200),
  10. Clip clipBehavior = Clip.none,
  11. double elevation = 0.0,
  12. Color? shadowColor,
  13. Color? tintColor,
  14. TextStyle? defaultTextStyle,
  15. void onTap()?,
  16. void onLongPress()?,
  17. void onTapDown(
    1. TapDownDetails
    )?,
  18. void onTapUp(
    1. TapUpDetails
    )?,
})

Implementation

const GrockSuperContainer({
  super.key,

  /// The child contained by the container.
  this.child,

  /// The height of the container.
  this.height,

  /// The width of the container.
  this.width,

  /// The color to paint behind the [child].
  this.color,

  /// The border radius of the container.
  this.superBorderRadius,

  /// The border of the container.
  this.isSuperBorderRadius = true,

  /// The border of the container.
  this.border = BorderSide.none,

  /// The duration of the animation of the container's properties.
  this.animationDuration = const Duration(milliseconds: 200),

  /// The clip behavior when [Container.decoration] has a clip
  this.clipBehavior = Clip.none,

  /// The z-coordinate at which to place this container. This controls the size
  this.elevation = 0.0,

  /// The color to paint the shadow below the container.
  this.shadowColor,

  /// The color to paint the shadow below the container.
  this.tintColor,

  /// The color to paint the shadow below the container.
  this.defaultTextStyle,

  /// The callback to invoke when the container is tapped.
  this.onTap,

  /// The callback to invoke when the container is long-pressed.
  this.onLongPress,

  /// The callback to invoke when the container is tapped.
  this.onTapDown,

  /// The callback to invoke when the container is tapped.
  this.onTapUp,
});