SegmentStyle class
Constructors
- SegmentStyle({BorderRadiusGeometry? segmentBorderRadius, Color? focusEffectColor, Color? selectedSegmentColor, Color? textColor, Color? selectedTextColor, Decoration? decoration, double? segmentGap, EdgeInsetsGeometry? segmentPadding, TextStyle? textStyle})
-
Defines a Moon Design segment style.
const
Properties
- decoration → Decoration?
-
The custom decoration of the segment.
final
- focusEffectColor → Color?
-
The color of the segment focus effect.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segmentBorderRadius → BorderRadiusGeometry?
-
The border radius of the segment.
final
- segmentGap → double?
-
The gap between the Segment.leading, Segment.label and Segment.trailing widgets of the segment.
final
- segmentPadding → EdgeInsetsGeometry?
-
The padding of the segment.
final
- selectedSegmentColor → Color?
-
The color of the selected segment.
final
- selectedTextColor → Color?
-
The text color of the selected segment.
final
- textColor → Color?
-
The default text color of the segment.
final
- textStyle → TextStyle?
-
The text style of the segment.
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.
inherited