OverflowView.flexible constructor

OverflowView.flexible({
  1. Key? key,
  2. required OverflowIndicatorBuilder builder,
  3. Axis direction = Axis.horizontal,
  4. required List<Widget> children,
  5. double spacing = 0,
})

Creates a flexible OverflowView.

All children can have their own size.

The spacing argument must also be positive and finite.

Implementation

OverflowView.flexible({
  Key? key,
  required OverflowIndicatorBuilder builder,
  Axis direction = Axis.horizontal,
  required List<Widget> children,
  double spacing = 0,
}) : this._all(
        key: key,
        builder: builder,
        direction: direction,
        children: children,
        spacing: spacing,
        layoutBehavior: OverflowViewLayoutBehavior.flexible,
      );