DehancerSlider class
Dehancer Slider package
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- DehancerSlider
Constructors
- DehancerSlider({Key? key, required double minValue, required double maxValue, required double defaultValue, required double startValue, required double value, DehancerSliderValueHandler? onValueChanged, DehancerSliderScrollHandler? onScrollingChanged, DehancerSliderValueHandler? onValueChangeStarted, DehancerSliderEmptyHandler? onDefaultValuePassed, DehancerSliderEmptyHandler? onValueReset, DehancerSliderEmptyHandler? onMinValuePassed, DehancerSliderEmptyHandler? onMaxValuePassed, double trackBarCenterHeight = 4.0, double trackBarHandleHeight = 20.0, double trackBarHeight = 2.0, double trackBarTouchAreaSize = 55.0, Color inactiveTrackColor = const Color(0xff323232), Color activeTrackColor = const Color(0xff008fc1), Color touchAreaColor = Colors.transparent, Color trackHandleColor = const Color(0xffa3a3a3)})
-
Dehancer Slider package
const
Properties
- activeTrackColor → Color
-
Active track color
final
- defaultValue → double
-
Default value
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveTrackColor → Color
-
Inactive track color
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxValue → double
-
Max value
final
- minValue → double
-
Min value
final
- onDefaultValuePassed → DehancerSliderEmptyHandler?
-
On default value passed handler
final
- onMaxValuePassed → DehancerSliderEmptyHandler?
-
On max value passed handler
final
- onMinValuePassed → DehancerSliderEmptyHandler?
-
On min value passed handler
final
- onScrollingChanged → DehancerSliderScrollHandler?
-
On scrolling changed handler
final
- onValueChanged → DehancerSliderValueHandler?
-
On value change handler
final
- onValueChangeStarted → DehancerSliderValueHandler?
-
On value change started handler
final
- onValueReset → DehancerSliderEmptyHandler?
-
On value reset handler
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startValue → double
-
Start value
final
- touchAreaColor → Color
-
Touch area color (transparent by default)
final
- trackBarCenterHeight → double
-
Track bar center point height
final
- trackBarHandleHeight → double
-
Track bar handle height
final
- trackBarHeight → double
-
Track bar height
final
- trackBarTouchAreaSize → double
-
Touch area size
final
- trackHandleColor → Color
-
Track Handle color
final
- value → double
-
Current value
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< DehancerSlider> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
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
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited