SliderSpec class

Resolved visuals for a multi-thumb RemixSlider.

Implemented types
Annotations
  • @MixableSpec.new(target: RemixSlider.new, extraStylerMixins: [RemixBoxStylerMixin])

Constructors

SliderSpec({StyleSpec<BoxSpec>? track, Color? trackColor, double? trackWidth, RemixBoxEffectsSpec? trackEffects, StyleSpec<BoxSpec>? range, Color? rangeColor, double? rangeWidth, RemixBoxEffectsSpec? rangeEffects, StyleSpec<BoxSpec>? thumb, RemixBoxEffectsSpec? thumbEffects, RemixBoxEffectsSpec? thumbFocusEffects, BlendMode? blendMode})
const

Properties

blendMode → BlendMode?
Whole-subtree blend used for state recipes such as disabled sliders.
final
hashCode → int
The hash code for this object.
no setterinherited
props → List<Object?>
The properties based on which equality and hash code are computed.
no setterinherited
range → StyleSpec<BoxSpec>
Layout boundary for the selected range.
final
rangeColor → Color
Established solid-color selected-range API.
final
rangeEffects → RemixBoxEffectsSpec?
Paint layers behind the selected range.
final
rangeWidth → double
Established selected-range width API.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool
Whether to use a detailed string representation of the object.
no setterinherited
thumb → StyleSpec<BoxSpec>
Layout and decoration for every visual thumb.
final
thumbEffects → RemixBoxEffectsSpec?
Paint layers behind every thumb.
final
thumbFocusEffects → RemixBoxEffectsSpec?
Additional overlay painted only when the focused thumb should show a focus highlight for the current input modality.
final
track → StyleSpec<BoxSpec>
Layout boundary for the complete track.
final
trackColor → Color
Established solid-color track API.
final
trackEffects → RemixBoxEffectsSpec?
Paint layers behind the track.
final
trackThickness → double
Largest track or range width used for layout clearance.
no setter
trackWidth → double
Established unfilled-track width API.
final
type → Type
no setterinherited

Methods

copyWith({StyleSpec<BoxSpec>? track, Color? trackColor, double? trackWidth, RemixBoxEffectsSpec? trackEffects, StyleSpec<BoxSpec>? range, Color? rangeColor, double? rangeWidth, RemixBoxEffectsSpec? rangeEffects, StyleSpec<BoxSpec>? thumb, RemixBoxEffectsSpec? thumbEffects, RemixBoxEffectsSpec? thumbFocusEffects, BlendMode? blendMode}) → SliderSpec
Creates a copy of this spec with the given fields replaced by the non-null parameter values.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
getDiff(Equatable other) → Map<String, String>
Returns a map of properties that differ between this object and another.
inherited
lerp(covariant SliderSpec? other, double t) → SliderSpec
Linearly interpolates with another Spec object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

defaultThumbSize → const Size
defaultTrackStrokeWidth → const double