WxAnimatedBox constructor

const WxAnimatedBox({
  1. Key? key,
  2. Duration duration = const Duration(milliseconds: 200),
  3. Curve curve = Curves.linear,
  4. double? width,
  5. double? height,
  6. BoxConstraints? constraints,
  7. EdgeInsetsGeometry? padding,
  8. EdgeInsetsGeometry? margin,
  9. DecorationImage? image,
  10. List<BoxShadow>? shadows,
  11. Gradient? gradient,
  12. AlignmentGeometry? alignment,
  13. Color? color,
  14. Color? elevationColor,
  15. double? elevation,
  16. ShapeBorder? border,
  17. Color? borderColor,
  18. double? borderWidth,
  19. BorderStyle? borderStyle,
  20. double? borderOffset,
  21. BorderSide? borderSide,
  22. BorderRadius? borderRadius,
  23. Clip? clipBehavior,
  24. required Widget? child,
})

Create an animated box widget

Implementation

const WxAnimatedBox({
  super.key,
  super.duration = const Duration(milliseconds: 200),
  super.curve,
  this.width,
  this.height,
  this.constraints,
  this.padding,
  this.margin,
  this.image,
  this.shadows,
  this.gradient,
  this.alignment,
  this.color,
  this.elevationColor,
  this.elevation,
  this.border,
  this.borderColor,
  this.borderWidth,
  this.borderStyle,
  this.borderOffset,
  this.borderSide,
  this.borderRadius,
  this.clipBehavior,
  required this.child,
});