AnimatedBox constructor
const
AnimatedBox({
- Key? key,
- Duration duration = const Duration(milliseconds: 200),
- Curve curve = Curves.linear,
- double? width,
- double? height,
- BoxConstraints? constraints,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- AlignmentGeometry? alignment,
- Color? color,
- Color? shadowColor,
- double? elevation,
- OutlinedBorder? border,
- Color? borderColor,
- double? borderWidth,
- BorderStyle? borderStyle,
- BorderSide? borderSide,
- BorderRadius? borderRadius,
- Clip? clipBehavior,
- BoxShape? shape,
- String? tooltip,
- required Widget? child,
Implementation
const AnimatedBox({
Key? key,
Duration duration = const Duration(milliseconds: 200),
Curve curve = Curves.linear,
this.width,
this.height,
this.constraints,
this.padding,
this.margin,
this.alignment,
this.color,
this.shadowColor,
this.elevation,
this.border,
this.borderColor,
this.borderWidth,
this.borderStyle,
this.borderSide,
this.borderRadius,
this.clipBehavior,
this.shape,
this.tooltip,
required this.child,
}) : super(
key: key,
duration: duration,
curve: curve,
);