DynamicOverflow constructor

DynamicOverflow({
  1. Key? key,
  2. Axis direction = Axis.horizontal,
  3. MainAxisAlignment alignment = MainAxisAlignment.start,
  4. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  5. TextDirection? textDirection,
  6. VerticalDirection verticalDirection = VerticalDirection.down,
  7. Clip clipBehavior = Clip.none,
  8. bool alwaysDisplayOverflowWidget = false,
  9. MainAxisAlignment overflowWidgetAlignment = MainAxisAlignment.end,
  10. DynamicOverflowChangedCallback? overflowChangedCallback,
  11. required List<Widget> children,
  12. 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]);