NikuSlider class

Inheritance
Mixed-in types
Available extensions

Constructors

NikuSlider(double data, {Key? key, NikuSliderType? sliderType, ValueChanged<double>? onChanged, ValueChanged<double>? onChangeStart, ValueChanged<double>? onChangeEnd, double? min, double? max, int? divisions, String? label, Color? activeColor, Color? inactiveColor, Color? thumbColor, MouseCursor? mouseCursor, SemanticFormatterCallback? semanticFormatterCallback, FocusNode? focusNode, bool? autofocus, double? trackHeight, Color? activeTrackColor, Color? inactiveTrackColor, Color? disabledActiveTrackColor, Color? disabledInactiveTrackColor, Color? activeTickMarkColor, Color? inactiveTickMarkColor, Color? disabledActiveTickMarkColor, Color? disabledInactiveTickMarkColor, Color? overlappingShapeStrokeColor, Color? disabledThumbColor, Color? overlayColor, Color? valueIndicatorColor, SliderComponentShape? overlayShape, SliderTickMarkShape? tickMarkShape, SliderComponentShape? thumbShape, SliderTrackShape? trackShape, SliderComponentShape? valueIndicatorShape, RangeSliderTickMarkShape? rangeTickMarkShape, RangeSliderThumbShape? rangeThumbShape, RangeSliderTrackShape? rangeTrackShape, RangeSliderValueIndicatorShape? rangeValueIndicatorShape, ShowValueIndicator? showValueIndicator, NikuTextStyle? valueIndicatorTextStyle, double? minThumbSeparation, RangeThumbSelector? thumbSelector})
NikuSlider.adaptive(double data, {Key? key, ValueChanged<double>? onChanged, ValueChanged<double>? onChangeStart, ValueChanged<double>? onChangeEnd, double? min, double? max, int? divisions, String? label, Color? activeColor, Color? inactiveColor, Color? thumbColor, MouseCursor? mouseCursor, SemanticFormatterCallback? semanticFormatterCallback, FocusNode? focusNode, bool? autofocus, double? trackHeight, Color? activeTrackColor, Color? inactiveTrackColor, Color? disabledActiveTrackColor, Color? disabledInactiveTrackColor, Color? activeTickMarkColor, Color? inactiveTickMarkColor, Color? disabledActiveTickMarkColor, Color? disabledInactiveTickMarkColor, Color? overlappingShapeStrokeColor, Color? disabledThumbColor, Color? overlayColor, Color? valueIndicatorColor, SliderComponentShape? overlayShape, SliderTickMarkShape? tickMarkShape, SliderComponentShape? thumbShape, SliderTrackShape? trackShape, SliderComponentShape? valueIndicatorShape, RangeSliderTickMarkShape? rangeTickMarkShape, RangeSliderThumbShape? rangeThumbShape, RangeSliderTrackShape? rangeTrackShape, RangeSliderValueIndicatorShape? rangeValueIndicatorShape, ShowValueIndicator? showValueIndicator, NikuTextStyle? valueIndicatorTextStyle, double? minThumbSeparation, RangeThumbSelector? thumbSelector})
factory
NikuSlider.cupertino(double data, {Key? key, ValueChanged<double>? onChanged, ValueChanged<double>? onChangeStart, ValueChanged<double>? onChangeEnd, double? min, double? max, int? divisions, String? label, Color? activeColor, Color? inactiveColor, Color? thumbColor, MouseCursor? mouseCursor, SemanticFormatterCallback? semanticFormatterCallback, FocusNode? focusNode, bool? autofocus, double? trackHeight, Color? activeTrackColor, Color? inactiveTrackColor, Color? disabledActiveTrackColor, Color? disabledInactiveTrackColor, Color? activeTickMarkColor, Color? inactiveTickMarkColor, Color? disabledActiveTickMarkColor, Color? disabledInactiveTickMarkColor, Color? overlappingShapeStrokeColor, Color? disabledThumbColor, Color? overlayColor, Color? valueIndicatorColor, SliderComponentShape? overlayShape, SliderTickMarkShape? tickMarkShape, SliderComponentShape? thumbShape, SliderTrackShape? trackShape, SliderComponentShape? valueIndicatorShape, RangeSliderTickMarkShape? rangeTickMarkShape, RangeSliderThumbShape? rangeThumbShape, RangeSliderTrackShape? rangeTrackShape, RangeSliderValueIndicatorShape? rangeValueIndicatorShape, ShowValueIndicator? showValueIndicator, NikuTextStyle? valueIndicatorTextStyle, double? minThumbSeparation, RangeThumbSelector? thumbSelector})
factory

Properties

$parent Niku
finalinherited
activeColor Color?
getter/setter pair
activeTickMarkColor Color?
getter/setter pair
activeTrackColor Color?
getter/setter pair
apply NikuSlider?
no getteroverride
applyTextStyle NikuTextStyle
no getterinherited
applyValueIndicatorTextStyle NikuTextStyle
no getterinherited
aspect double
no getterinherited
aspectRatio double
no getterinherited
autofocus bool?
getter/setter pair
boxConstraints BoxConstraints
no getterinherited
copied NikuSlider
no setteroverride
data double
getter/setter pair
deps List
getter/setter pairinherited
disabledActiveTickMarkColor Color?
getter/setter pair
disabledActiveTrackColor Color?
getter/setter pair
disabledInactiveTickMarkColor Color?
getter/setter pair
disabledInactiveTrackColor Color?
getter/setter pair
disabledThumbColor Color?
getter/setter pair
divisions int?
getter/setter pair
expanded → dynamic
no setterinherited
fh double
no getterinherited
fill → void
no setterinherited
flex int
getter/setter pairinherited
focusNode FocusNode?
getter/setter pairoverride
formKey Key
no getterinherited
fractionH double
no getterinherited
fractionHeight double
no getterinherited
fractionSize List<double>
no getterinherited
fractionW double
no getterinherited
fractionWidth double
no getterinherited
freezed → void
no setterinherited
fullHeight → void
no setterinherited
fullSize → void
no setterinherited
fullWidth → void
no setterinherited
fw double
no getterinherited
h double
no getterinherited
h100 → void
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height double
no getterinherited
heightPercent double
no getterinherited
hFactor double
no getterinherited
hFull → void
no setterinherited
hidden → dynamic
no setterinherited
hMax double
no getterinherited
hMin double
no getterinherited
hPercent double
no getterinherited
inactiveColor Color?
getter/setter pair
inactiveTickMarkColor Color?
getter/setter pair
inactiveTrackColor Color?
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label String?
getter/setter pair
m double
no getterinherited
margin EdgeInsets
no getterinherited
max double?
getter/setter pair
maxH double
no getterinherited
maxHeight double
no getterinherited
maxSize List<double>
no getterinherited
maxW double
no getterinherited
maxWidth double
no getterinherited
mb double
no getterinherited
min double?
getter/setter pair
minH double
no getterinherited
minHeight double
no getterinherited
minSize List<double>
no getterinherited
minThumbSeparation double?
getter/setter pair
minW double
no getterinherited
minWidth double
no getterinherited
ml double
no getterinherited
mouseCursor MouseCursor?
getter/setter pair
mr double
no getterinherited
mt double
no getterinherited
mx double
no getterinherited
my double
no getterinherited
n NikuExplictParentBuilder
no setterinherited
noOverlay → void
no setter
noTickMark → void
no setter
onChanged ValueChanged<double>?
getter/setter pair
onChangeEnd ValueChanged<double>?
getter/setter pair
onChangeStart ValueChanged<double>?
getter/setter pair
overlappingShapeStrokeColor Color?
getter/setter pair
overlayColor Color?
getter/setter pair
overlayShape SliderComponentShape?
getter/setter pair
parent NikuExplictParentBuilder
no setterinherited
rangeThumbShape RangeSliderThumbShape?
getter/setter pair
rangeTickMarkShape RangeSliderTickMarkShape?
getter/setter pair
rangeTrackShape RangeSliderTrackShape?
getter/setter pair
rangeValueIndicatorShape RangeSliderValueIndicatorShape?
getter/setter pair
ratio double
no getterinherited
roundRangeSliderTickMark → void
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollable → void
no setterinherited
self NikuSlider
no setteroverride
semanticFormatterCallback SemanticFormatterCallback?
getter/setter pair
showValueIndicator ShowValueIndicator?
getter/setter pair
sizePercent List<double>
no getterinherited
sliderType NikuSliderType?
getter/setter pair
sliverToBox → void
no setterinherited
style NikuTextStyle?
getter/setter pairinherited
theme ThemeData
no getterinherited
thumbColor Color?
getter/setter pair
thumbSelector RangeThumbSelector?
getter/setter pair
thumbShape SliderComponentShape?
getter/setter pair
tickMarkShape SliderTickMarkShape?
getter/setter pair
tip String
no getterinherited
tooltip String
no getterinherited
trackHeight double?
getter/setter pair
trackShape SliderTrackShape?
getter/setter pair
valueIndicatorColor Color?
getter/setter pair
valueIndicatorShape SliderComponentShape?
getter/setter pair
valueIndicatorTextStyle NikuTextStyle?
getter/setter pairoverride
visible bool
no getterinherited
w double
no getterinherited
w100 → void
no setterinherited
wFactor double
no getterinherited
wFull → void
no setterinherited
width double
no getterinherited
widthPercent double
no getterinherited
wMax double
no getterinherited
wMin double
no getterinherited
wPercent double
no getterinherited
wrap → dynamic
Cancel parent size inheritance by wrapping the widget with a Wrap.
no setterinherited

Methods

build(BuildContext _) Widget
inherited
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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
of(NikuSlider? v) → void
inherited
on({void tapDown(TapDownDetails)?, void tapUp(TapUpDetails)?, VoidCallback? tap, VoidCallback? tapCancel, VoidCallback? secondaryTap, void secondaryTapDown(TapDownDetails)?, void secondaryTapUp(TapUpDetails)?, VoidCallback? secondaryTapCancel, void tertiaryTapDown(TapDownDetails)?, void tertiaryTapUp(TapUpDetails)?, VoidCallback? tertiaryTapCancel, void doubleTapDown(TapDownDetails)?, VoidCallback? doubleTap, VoidCallback? doubleTapCancel, VoidCallback? longPress, void longPressStart(LongPressStartDetails)?, void longPressMoveUpdate(LongPressMoveUpdateDetails)?, VoidCallback? longPressUp, void longPressEnd(LongPressEndDetails)?, VoidCallback? secondaryLongPress, void secondaryLongPressStart(LongPressStartDetails)?, void secondaryLongPressMoveUpdate(LongPressMoveUpdateDetails)?, VoidCallback? secondaryLongPressUp, void secondaryLongPressEnd(LongPressEndDetails)?, void verticalDragDown(DragDownDetails)?, void verticalDragStart(DragStartDetails)?, void verticalDragUpdate(DragUpdateDetails)?, void verticalDragEnd(DragEndDetails)?, VoidCallback? verticalDragCancel, void horizontalDragDown(DragDownDetails)?, void horizontalDragStart(DragStartDetails)?, void horizontalDragUpdate(DragUpdateDetails)?, void horizontalDragEnd(DragEndDetails)?, VoidCallback? horizontalDragCancel, void forcePressStart(ForcePressDetails)?, void forcePressPeak(ForcePressDetails)?, void forcePressUpdate(ForcePressDetails)?, void forcePressEnd(ForcePressDetails)?, void panDown(DragDownDetails)?, void panStart(DragStartDetails)?, void panUpdate(DragUpdateDetails)?, void panEnd(DragEndDetails)?, VoidCallback? panCancel, void scaleStart(ScaleStartDetails)?, void scaleUpdate(ScaleUpdateDetails)?, void scaleEnd(ScaleEndDetails)?}) → void
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
use(List<NikuSlider> v) → void
inherited
useAnimationBuilder({required Widget builder(BuildContext context, Widget child), required AnimationController animation}) → void
inherited
useDarkMode(BuildContext context, NikuSlider builder(NikuSlider, bool)) → void
inherited
useFocus(FocusNode builder(FocusNode?), {String? debugLabel, FocusOnKeyCallback? onKey, FocusOnKeyEventCallback? onKeyEvent, bool skipTraversal = false, bool canRequestFocus = true, bool descendantsAreFocusable = true}) → dynamic
inherited
useFocusNode(FocusNode builder(FocusNode?), {String? debugLabel, FocusOnKeyCallback? onKey, FocusOnKeyEventCallback? onKeyEvent, bool skipTraversal = false, bool canRequestFocus = true, bool descendantsAreFocusable = true}) → dynamic
inherited
useForm({Key? key, AutovalidateMode? autovalidateMode, Future<bool> onWillPop()?, void onChanged()?}) → void
inherited
useParent(Widget compose(Niku)) → void
inherited
usePlatform(BuildContext context, {NikuSlider android(NikuSlider)?, NikuSlider iOS(NikuSlider)?, NikuSlider fuchsia(NikuSlider)?, NikuSlider linux(NikuSlider)?, NikuSlider macOS(NikuSlider)?, NikuSlider windows(NikuSlider)?, NikuSlider web(NikuSlider)?}) → void
inherited
useQuery(BuildContext context, NikuSlider builder(NikuSlider, MediaQueryData)) → void
inherited
useScreen(BuildContext context, {NikuSlider base(NikuSlider)?, NikuSlider xs(NikuSlider)?, NikuSlider sm(NikuSlider)?, NikuSlider md(NikuSlider)?, NikuSlider lg(NikuSlider)?, NikuSlider xl(NikuSlider)?}) → void
void useScreen({ // > 568px Widget Function(Niku)? base, // 568 - 640px Widget Function(Niku)? xs, // 640 - 768px Widget Function(Niku)? sm, // 768 - 920px Widget Function(Niku)? md, // 920 - 1024px Widget Function(Niku)? lg, // > 1024px Widget Function(Niku)? xl, })
inherited
useScrollView({ScrollController? controller, Axis scrollDirection = Axis.vertical, bool? primary, bool reverse = false, ScrollPhysics? physics, DragStartBehavior dragStartBehavior = DragStartBehavior.start, String? restorationId}) → void
inherited
useSize(BuildContext context, NikuSlider builder(NikuSlider, Size)) → void
inherited
useTextStyle(NikuTextStyle v(NikuTextStyle)) → void
inherited
useThemeSelector(BuildContext context, {NikuSlider light(NikuSlider)?, NikuSlider dark(NikuSlider)?}) → void
inherited
useValueIndicatorTextStyle(NikuTextStyle v(NikuTextStyle)) → void
inherited
widget(BuildContext context) Widget
override

Operators

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