AnimatedContainer constructor
const
AnimatedContainer({
- Key? key,
- Widget? child,
- Duration duration = AppDuration.normal,
- Curve curve = AppCurves.standard,
- Color? color,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- double? width,
- double? height,
- AlignmentGeometry? alignment,
- BorderRadius? borderRadius,
- List<
BoxShadow> ? shadows, - BoxBorder? border,
- Gradient? gradient,
- Decoration? decoration,
- 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,
});