WxAnimatedBox constructor
const
WxAnimatedBox({
- Key? key,
- Duration duration = const Duration(milliseconds: 200),
- Curve curve = Curves.linear,
- double? width,
- double? height,
- BoxConstraints? constraints,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- DecorationImage? image,
- List<
BoxShadow> ? shadows, - Gradient? gradient,
- AlignmentGeometry? alignment,
- Color? color,
- Color? elevationColor,
- double? elevation,
- ShapeBorder? border,
- Color? borderColor,
- double? borderWidth,
- BorderStyle? borderStyle,
- double? borderOffset,
- BorderSide? borderSide,
- BorderRadius? borderRadius,
- Clip? clipBehavior,
- 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,
});