ArcaneSlider class

Slider input component with single value or range mode.

Inheritance

Constructors

ArcaneSlider({String? id, required double value, double min = 0, double max = 100, double? step, String? label, bool showValue = true, String? valuePrefix, String? valueSuffix, int valueDecimals = 0, SliderVariant variant = SliderVariant.primary, ComponentSize size = ComponentSize.md, bool showSteps = false, bool disabled = false, void onChanged(double)?, ArcaneInteraction? onChangeAction, ArcaneStyleData? styles, ArcaneDecoration? decoration, Key? key})
const
ArcaneSlider.error({String? id, required double value, double min = 0, double max = 100, double? step, String? label, bool showValue = true, String? valuePrefix, String? valueSuffix, int valueDecimals = 0, ComponentSize size = ComponentSize.md, bool showSteps = false, bool disabled = false, void onChanged(double)?, ArcaneInteraction? onChangeAction, ArcaneStyleData? styles, ArcaneDecoration? decoration, Key? key})
const
ArcaneSlider.primary({String? id, required double value, double min = 0, double max = 100, double? step, String? label, bool showValue = true, String? valuePrefix, String? valueSuffix, int valueDecimals = 0, ComponentSize size = ComponentSize.md, bool showSteps = false, bool disabled = false, void onChanged(double)?, ArcaneInteraction? onChangeAction, ArcaneStyleData? styles, ArcaneDecoration? decoration, Key? key})
const
ArcaneSlider.range({String? id, required double minValue, required double maxValue, double min = 0, double max = 100, double? step, String? label, bool showValue = true, String? valuePrefix, String? valueSuffix, int valueDecimals = 0, SliderVariant variant = SliderVariant.primary, ComponentSize size = ComponentSize.md, bool showSteps = false, bool disabled = false, void onRangeChanged(double min, double max)?, ArcaneInteraction? onChangeAction, ArcaneStyleData? styles, ArcaneDecoration? decoration, Key? key})
const
ArcaneSlider.success({String? id, required double value, double min = 0, double max = 100, double? step, String? label, bool showValue = true, String? valuePrefix, String? valueSuffix, int valueDecimals = 0, ComponentSize size = ComponentSize.md, bool showSteps = false, bool disabled = false, void onChanged(double)?, ArcaneInteraction? onChangeAction, ArcaneStyleData? styles, ArcaneDecoration? decoration, Key? key})
const
ArcaneSlider.warning({String? id, required double value, double min = 0, double max = 100, double? step, String? label, bool showValue = true, String? valuePrefix, String? valueSuffix, int valueDecimals = 0, ComponentSize size = ComponentSize.md, bool showSteps = false, bool disabled = false, void onChanged(double)?, ArcaneInteraction? onChangeAction, ArcaneStyleData? styles, ArcaneDecoration? decoration, Key? key})
const

Properties

decoration → ArcaneDecoration?
Semantic, theme-interpreted decoration (elevation + theme-specific fields).
final
disabled → bool
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
isRange → bool
final
key → Key?
Controls how one component replaces another component in the tree.
finalinherited
label → String?
final
max → double
final
min → double
final
onChangeAction → ArcaneInteraction?
final
onChanged → void Function(double)?
final
onRangeChanged → void Function(double min, double max)?
final
rangeMax → double?
final
rangeMin → double?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showSteps → bool
final
showValue → bool
final
size → ComponentSize
final
step → double?
final
styles → ArcaneStyleData?
Literal, theme-permeable style override (always applied, wins over theme).
final
value → double
final
valueDecimals → int
final
valuePrefix → String?
final
valueSuffix → String?
final
variant → SliderVariant
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this component.
override
createElement() → Element
Creates a StatelessElement to manage this component's location in the tree.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRebuild(covariant Component newComponent) → bool
Implement this method to determine whether a rebuild can be skipped.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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