NiceMotionSafeAnimatedContainer constructor

const NiceMotionSafeAnimatedContainer({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(milliseconds: 300),
  4. Curve curve = Curves.easeInOut,
  5. double? width,
  6. double? height,
  7. Color? color,
  8. EdgeInsets? padding,
  9. EdgeInsets? margin,
  10. Alignment? alignment,
  11. BoxDecoration? decoration,
})

Implementation

const NiceMotionSafeAnimatedContainer({
  super.key,
  required this.child,
  this.duration = const Duration(milliseconds: 300),
  this.curve = Curves.easeInOut,
  this.width,
  this.height,
  this.color,
  this.padding,
  this.margin,
  this.alignment,
  this.decoration,
});