SBBButtonSegmentStyle class

Defines the visual properties for an SBBButtonSegment.

Use this class in combination with SBBSegmentedButtonThemeData to customize the appearance of button segments throughout your app or for specific widget subtrees.

See also:

Constructors

SBBButtonSegmentStyle({WidgetStateProperty<Color?>? foregroundColor, WidgetStateProperty<TextStyle?>? textStyle})
const

Properties

foregroundColor → WidgetStateProperty<Color?>?
The foreground color (for text and icons).
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textStyle → WidgetStateProperty<TextStyle?>?
The text style for the label.
final

Methods

copyWith({WidgetStateProperty<Color?>? foregroundColor, WidgetStateProperty<TextStyle?>? textStyle}) → SBBButtonSegmentStyle
merge(SBBButtonSegmentStyle? other) → SBBButtonSegmentStyle
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