SegmentedBarStyle class
An immutable style that can be applied to SegmentedBars.
- Annotations
Constructors
- SegmentedBarStyle({Color? backgroundColor, double size = 10, double gap = 3, ShapeBorder shape = const StadiumBorder(), EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 6)})
-
Creates a style for SegmentedBars.
const
Properties
- backgroundColor → Color?
-
The background color of the bar.
final
- gap → double
-
The amount of the space between adjacent segments.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- padding → EdgeInsets
-
The padding around the bar.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → ShapeBorder
-
The shape of the bar.
final
- size → double
-
The thickness of the bar.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override