AtomicAnimatedSmoothContainer constructor

AtomicAnimatedSmoothContainer({
  1. Key? key,
  2. Widget? child,
  3. AlignmentGeometry? alignment,
  4. EdgeInsetsGeometry? padding,
  5. Color? color,
  6. Decoration? decoration,
  7. Decoration? foregroundDecoration,
  8. double? width,
  9. double? height,
  10. BoxConstraints? constraints,
  11. EdgeInsetsGeometry? margin,
  12. Matrix4? transform,
  13. AlignmentGeometry? transformAlignment,
  14. Clip clipBehavior = Clip.none,
  15. required Duration duration,
  16. Curve curve = Curves.linear,
  17. VoidCallback? onEnd,
})

Implementation

AtomicAnimatedSmoothContainer({
  super.key,
  this.child,
  this.alignment,
  this.padding,
  this.color,
  this.decoration,
  this.foregroundDecoration,
  double? width,
  double? height,
  BoxConstraints? constraints,
  this.margin,
  this.transform,
  this.transformAlignment,
  this.clipBehavior = Clip.none,
  required super.duration,
  super.curve,
  super.onEnd,
}) : constraints = (width != null || height != null)
          ? constraints?.tighten(width: width, height: height) ??
              BoxConstraints.tightFor(width: width, height: height)
          : constraints;