MyoroRangeSliderConfiguration class final

Configuration model of MyoroRangeSlider.

Inheritance
Annotations
  • @myoroModel

Constructors

MyoroRangeSliderConfiguration({String label = labelDefaultValue, String currentValueText = currentValueTextDefaultValue, String maxValueText = maxValueTextDefaultValue, String footerText = footerTextDefaultValue, double min = minDefaultValue, double max = maxDefaultValue, required RangeValues values, required MyoroSliderOnChanged<RangeValues> onChanged})
MyoroRangeSliderConfiguration.fake()
factory

Properties

currentValueText String
Text builder for the left of the slider.
finalinherited
footerText String
Text builder for the bottom of the slider.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
label String
Label of the slider.
finalinherited
max double
Maximum value of the slider.
finalinherited
maxValueText String
Text builder for the right of the slider.
finalinherited
min double
Minimum value of the slider.
finalinherited
onChanged MyoroSliderOnChanged<RangeValues>
Callback executed when the values are changed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self MyoroRangeSliderConfiguration
no setterinherited
values RangeValues
Start and end values of the MyoroRangeSlider.
final
widget Widget
Widget builder.
no setteroverride

Methods

copyWith({RangeValues? values, MyoroSliderOnChanged<RangeValues>? onChanged, String? label, String? currentValueText, String? maxValueText, String? footerText, double? min, double? max}) MyoroRangeSliderConfiguration
inherited
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