AnimatedBox constructor

const AnimatedBox({
  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. AlignmentGeometry? alignment,
  10. Color? color,
  11. Color? shadowColor,
  12. double? elevation,
  13. OutlinedBorder? border,
  14. Color? borderColor,
  15. double? borderWidth,
  16. BorderStyle? borderStyle,
  17. BorderSide? borderSide,
  18. BorderRadius? borderRadius,
  19. Clip? clipBehavior,
  20. BoxShape? shape,
  21. String? tooltip,
  22. 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,
      );