AnimatedContainer constructor

const AnimatedContainer({
  1. Key? key,
  2. Widget? child,
  3. Duration duration = AppDuration.normal,
  4. Curve curve = AppCurves.standard,
  5. Color? color,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? margin,
  8. double? width,
  9. double? height,
  10. AlignmentGeometry? alignment,
  11. BorderRadius? borderRadius,
  12. List<BoxShadow>? shadows,
  13. BoxBorder? border,
  14. Gradient? gradient,
  15. Decoration? decoration,
  16. BoxConstraints? constraints,
})

Implementation

const AnimatedContainer({
  super.key,
  this.child,
  this.duration = AppDuration.normal,
  this.curve = AppCurves.standard,
  this.color,
  this.padding,
  this.margin,
  this.width,
  this.height,
  this.alignment,
  this.borderRadius,
  this.shadows,
  this.border,
  this.gradient,
  this.decoration,
  this.constraints,
});