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

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