EasyContainer constructor
const
EasyContainer({
- Key? key,
- bool animated = false,
- Duration? animationDuration,
- double? height,
- double? width,
- bool useResponsiveSize = true,
- Color? backgroundColor = Colors.white,
- Widget? child,
- dynamic onTap()?,
- dynamic onLongTap()?,
- dynamic onDoubleTap()?,
- Alignment alignment = Alignment.center,
- Gradient? gradient,
- BoxBorder? boxBorder,
- BorderRadius? borderRadius,
- BoxShape boxShape = BoxShape.rectangle,
- List<
BoxShadow> ? boxShadows, - double? maxHeight,
- double? maxWidth,
- double? minHeight,
- double? minWidth,
- EdgeInsets? padding,
- EdgeInsets? margin,
- Matrix4? transform,
- AlignmentGeometry? transformAlignment,
- dynamic onEnd()?,
- Curve animationCurve = Curves.linear,
- Color? highlightColor,
- Color? splashColor,
- Color? hoverColor,
- bool feedBack = true,
- bool disableRippleEffect = false,
- double? elevation,
Implementation
const EasyContainer({
Key? key,
this.animated = false,
this.animationDuration,
this.height,
this.width,
this.useResponsiveSize = true,
this.backgroundColor = Colors.white,
this.child,
this.onTap,
this.onLongTap,
this.onDoubleTap,
this.alignment = Alignment.center,
this.gradient,
this.boxBorder,
this.borderRadius,
this.boxShape = BoxShape.rectangle,
this.boxShadows,
this.maxHeight,
this.maxWidth,
this.minHeight,
this.minWidth,
this.padding,
this.margin,
this.transform,
this.transformAlignment,
this.onEnd,
this.animationCurve = Curves.linear,
this.highlightColor,
this.splashColor,
this.hoverColor,
this.feedBack = true,
this.disableRippleEffect = false,
this.elevation,
}) : super(key: key);