EasyContainer constructor

const EasyContainer({
  1. Key? key,
  2. bool animated = false,
  3. Duration? animationDuration,
  4. double? height,
  5. double? width,
  6. bool useResponsiveSize = true,
  7. Color? backgroundColor = Colors.white,
  8. Widget? child,
  9. dynamic onTap()?,
  10. dynamic onLongTap()?,
  11. dynamic onDoubleTap()?,
  12. Alignment alignment = Alignment.center,
  13. Gradient? gradient,
  14. BoxBorder? boxBorder,
  15. BorderRadius? borderRadius,
  16. BoxShape boxShape = BoxShape.rectangle,
  17. List<BoxShadow>? boxShadows,
  18. double? maxHeight,
  19. double? maxWidth,
  20. double? minHeight,
  21. double? minWidth,
  22. EdgeInsets? padding,
  23. EdgeInsets? margin,
  24. Matrix4? transform,
  25. AlignmentGeometry? transformAlignment,
  26. dynamic onEnd()?,
  27. Curve animationCurve = Curves.linear,
  28. Color? highlightColor,
  29. Color? splashColor,
  30. Color? hoverColor,
  31. bool feedBack = true,
  32. bool disableRippleEffect = false,
  33. 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);