DynamicOverflow constructor
DynamicOverflow({
- Key? key,
- Axis direction = Axis.horizontal,
- MainAxisAlignment alignment = MainAxisAlignment.start,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- Clip clipBehavior = Clip.none,
- bool alwaysDisplayOverflowWidget = false,
- MainAxisAlignment overflowWidgetAlignment = MainAxisAlignment.end,
- DynamicOverflowChangedCallback? overflowChangedCallback,
- required List<
Widget> children, - required Widget overflowWidget,
Implementation
DynamicOverflow({
super.key,
this.direction = Axis.horizontal,
this.alignment = MainAxisAlignment.start,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.textDirection,
this.verticalDirection = VerticalDirection.down,
this.clipBehavior = Clip.none,
this.alwaysDisplayOverflowWidget = false,
this.overflowWidgetAlignment = MainAxisAlignment.end,
this.overflowChangedCallback,
required List<Widget> children,
required Widget overflowWidget,
}) : super(children: [...children, overflowWidget]);