NikuDropdownButton<T> class

Inheritance
Mixed in types
Available Extensions

Constructors

NikuDropdownButton(T? value, {Key? key, DropdownButtonBuilder? selectedItemBuilder, List<DropdownMenuItem<T>>? items, Widget? hint, Widget? disabledHint, ValueChanged<T?>? onChanged, VoidCallback? onTap, int? elevation, NikuTextStyle? style, Widget? underline, Widget? icon, Color? iconDisabledColor, Color? iconEnabledColor, double? iconSize, bool? isDense, bool? isExpanded, double? itemHeight, Color? focusColor, FocusNode? focusNode, bool? autofocus, Color? dropdownColor, double? menuMaxHeight, bool? enableFeedback, AlignmentGeometry? alignment, BorderRadius? borderRadius, List<T>? itemsValue})

Properties

$parent Niku
finalinherited
aboveline → void
read-onlyinherited
alignment AlignmentGeometry?
read / writeoverride
apply NikuDropdownButton?
write-onlyoverride
applyTextStyle NikuTextStyle
write-onlyinherited
aspect double
write-onlyinherited
aspectRatio double
write-onlyinherited
autofocus bool?
read / write
backgroundColor Color?
write-onlyinherited
body1 BuildContext
write-onlyinherited
body2 BuildContext
write-onlyinherited
bodyLarge BuildContext
write-onlyinherited
bodyMedium BuildContext
write-onlyinherited
bodySmall BuildContext
write-onlyinherited
bold → void
read-onlyinherited
borderRadius BorderRadius?
read / writeoverride
bottomCenter → void
read-onlyinherited
bottomEnd → void
read-onlyinherited
bottomStart → void
read-onlyinherited
boxConstraints BoxConstraints
write-onlyinherited
button BuildContext
write-onlyinherited
center → void
read-onlyinherited
centerEnd → void
read-onlyinherited
centerStart → void
read-onlyinherited
color Color?
write-onlyinherited
copied NikuDropdownButton
read-onlyoverride
dashed → void
read-onlyinherited
debugLabel String?
write-onlyinherited
decorationColor Color?
write-onlyinherited
decorationStyle TextDecorationStyle?
write-onlyinherited
decorationThickness double?
write-onlyinherited
deps List
read / writeinherited
disabledHint Widget?
read / write
displayLarge BuildContext
write-onlyinherited
displayMedium BuildContext
write-onlyinherited
displaySmall BuildContext
write-onlyinherited
dotted → void
read-onlyinherited
read / write
elevation int?
read / write
enableFeedback bool?
read / write
expanded → dynamic
read-onlyinherited
fh double
write-onlyinherited
fill → void
read-onlyinherited
flex int
read / writeinherited
focusColor Color?
read / write
focusNode FocusNode?
read / writeoverride
fontFamily String?
write-onlyinherited
fontFamilyFallback List<String>?
write-onlyinherited
fontFeatures List<FontFeature>?
write-onlyinherited
fontSize double?
write-onlyinherited
fontStyle FontStyle?
write-onlyinherited
fontWeight FontWeight?
write-onlyinherited
foreground Paint?
write-onlyinherited
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
h1 BuildContext
write-onlyinherited
h2 BuildContext
write-onlyinherited
h3 BuildContext
write-onlyinherited
h4 BuildContext
write-onlyinherited
h5 BuildContext
write-onlyinherited
h6 BuildContext
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
hint Widget?
read / write
hMax double
write-onlyinherited
hMin double
write-onlyinherited
hPercent double
write-onlyinherited
icon Widget?
read / write
iconDisabledColor Color?
read / write
iconEnabledColor Color?
read / write
iconSize double?
read / write
inherit bool
write-onlyinherited
isDense bool?
read / write
isExpanded bool?
read / write
italic → void
read-onlyinherited
itemHeight double?
read / write
items List<DropdownMenuItem<T>>?
read / write
itemsValue List<T>?
read / write
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
labelLarge BuildContext
write-onlyinherited
labelMedium BuildContext
write-onlyinherited
labelSmall BuildContext
write-onlyinherited
leadingDistribution TextLeadingDistribution?
write-onlyinherited
letterSpacing double?
write-onlyinherited
lineThrough → void
read-onlyinherited
locale Locale?
write-onlyinherited
m double
write-onlyinherited
margin EdgeInsets
write-onlyinherited
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
read / write
minH double
write-onlyinherited
minHeight double
write-onlyinherited
minSize List<double>
write-onlyinherited
minW double
write-onlyinherited
minWidth double
write-onlyinherited
ml double
write-onlyinherited
mr double
write-onlyinherited
mt double
write-onlyinherited
mx double
write-onlyinherited
my double
write-onlyinherited
n NikuExplictParentBuilder
read-onlyinherited
noDecoration → void
read-onlyinherited
noUnderline → void
read-only
onChanged ValueChanged<T?>?
read / write
onTap VoidCallback?
read / write
overflow TextOverflow?
write-onlyinherited
overline BuildContext
write-onlyinherited
package String?
write-onlyinherited
parent NikuExplictParentBuilder
read-onlyinherited
ratio double
write-onlyinherited
rounded double
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scrollable → void
read-onlyinherited
selectedItemBuilder DropdownButtonBuilder?
read / write
self NikuDropdownButton
read-onlyoverride
shadows List<Shadow>?
write-onlyinherited
sizePercent List<double>
write-onlyinherited
sliverToBox → void
read-onlyinherited
solid → void
read-onlyinherited
style NikuTextStyle?
read / writeoverride
subtitle1 BuildContext
write-onlyinherited
subtitle2 BuildContext
write-onlyinherited
textBackground Paint?
write-onlyinherited
textBaseline TextBaseline?
write-onlyinherited
textBg Color
write-onlyinherited
textDecoration TextDecoration?
write-onlyinherited
theme ThemeData
write-onlyinherited
tip String
write-onlyinherited
titleLarge BuildContext
write-onlyinherited
titleMedium BuildContext
write-onlyinherited
titleSmall BuildContext
write-onlyinherited
tooltip String
write-onlyinherited
topCenter → void
read-onlyinherited
topEnd → void
read-onlyinherited
topStart → void
read-onlyinherited
underline Widget?
read / write
underlineText → void
read-onlyinherited
value ↔ T?
read / write
visible bool
write-onlyinherited
w double
write-onlyinherited
w100 → void
read-onlyinherited
w200 → void
read-onlyinherited
w300 → void
read-onlyinherited
w400 → void
read-onlyinherited
w500 → void
read-onlyinherited
w600 → void
read-onlyinherited
w700 → void
read-onlyinherited
w800 → void
read-onlyinherited
w900 → void
read-onlyinherited
wavy → 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
wordSpacing 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(NikuDropdownButton? 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<NikuDropdownButton> v) → void
inherited
useAnimationBuilder({required Widget builder(BuildContext context, Widget child), required AnimationController animation}) → void
inherited
useDarkMode(BuildContext context, NikuDropdownButton builder(NikuDropdownButton, 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, {NikuDropdownButton android(NikuDropdownButton)?, NikuDropdownButton iOS(NikuDropdownButton)?, NikuDropdownButton fuchsia(NikuDropdownButton)?, NikuDropdownButton linux(NikuDropdownButton)?, NikuDropdownButton macOS(NikuDropdownButton)?, NikuDropdownButton windows(NikuDropdownButton)?, NikuDropdownButton web(NikuDropdownButton)?}) → void
inherited
useQuery(BuildContext context, NikuDropdownButton builder(NikuDropdownButton, MediaQueryData)) → void
inherited
useScreen(BuildContext context, {NikuDropdownButton base(NikuDropdownButton)?, NikuDropdownButton xs(NikuDropdownButton)?, NikuDropdownButton sm(NikuDropdownButton)?, NikuDropdownButton md(NikuDropdownButton)?, NikuDropdownButton lg(NikuDropdownButton)?, NikuDropdownButton xl(NikuDropdownButton)?}) → 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, NikuDropdownButton builder(NikuDropdownButton, Size)) → void
inherited
useTextStyle(NikuTextStyle v(NikuTextStyle)) → void
override
useThemeSelector(BuildContext context, {NikuDropdownButton light(NikuDropdownButton)?, NikuDropdownButton dark(NikuDropdownButton)?}) → void
inherited
widget(BuildContext context) Widget
override

Operators

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