OverflowView constructor

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

Creates an OverflowView.

All children will have the same size has the first child.

The spacing argument must also be positive and finite.

Implementation

OverflowView({
  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.fixed,
      );