SegmentedDefaults class

Defaults for every Segmented under a ConfigProvider.

House style for segmented controls.

Annotations

Constructors

SegmentedDefaults({Axis? direction, ControlSize? size, bool? disabled, bool? scrollButtons})
Creates a SegmentedDefaults.
const

Properties

direction → Axis?
Which way the segments run.
final
disabled → bool?
Whether a Segmented is disabled, unless it says otherwise.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollButtons → bool?
Whether an overflowing run offers arrows to step through it.
final
size → ControlSize?
Which control height a Segmented takes, unless it names one.
final

Methods

merge(SegmentedDefaults other) → SegmentedDefaults
This one with other's fields laid over it, one field at a time.
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