UiExpanded constructor

const UiExpanded({
  1. Key? key,
  2. int flex = 1,
  3. Duration? duration,
  4. Curve? curve,
  5. VoidCallback? onEnd,
  6. Widget? child,
})

UiWidget for Expanded, or AnimatedExpanded if duration is present.

Implementation

const UiExpanded({
  super.key,
  this.flex = 1,
  super.duration,
  super.curve,
  super.onEnd,
  super.child,
});