OverflowBar constructor Null safety
- {Key? key,
- double spacing = 0.0,
- MainAxisAlignment? alignment,
- double overflowSpacing = 0.0,
- OverflowBarAlignment overflowAlignment = OverflowBarAlignment.start,
- VerticalDirection overflowDirection = VerticalDirection.down,
- TextDirection? textDirection,
- Clip clipBehavior = Clip.none,
- List<
Widget> children = const <Widget>[]}
Constructs an OverflowBar.
The spacing, overflowSpacing, overflowAlignment, overflowDirection, and clipBehavior parameters must not be null. The children argument must not be null and must not contain any null objects.
Implementation
OverflowBar({
super.key,
this.spacing = 0.0,
this.alignment,
this.overflowSpacing = 0.0,
this.overflowAlignment = OverflowBarAlignment.start,
this.overflowDirection = VerticalDirection.down,
this.textDirection,
this.clipBehavior = Clip.none,
super.children,
}) : assert(spacing != null),
assert(overflowSpacing != null),
assert(overflowAlignment != null),
assert(overflowDirection != null),
assert(clipBehavior != null);