NikuDropdownButtonFormField<T> class

Inheritance
Mixed-in types
Available extensions

Constructors

NikuDropdownButtonFormField(T? value, {Key? key, DropdownButtonBuilder? selectedItemBuilder, List<DropdownMenuItem<T>>? items, Widget? hint, Widget? disabledHint, ValueChanged<T?>? onChanged, VoidCallback? onTap, int? elevation, NikuTextStyle? style, 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, List<T>? itemsValue, NikuInputDecoration? decoration})
NikuDropdownButtonFormField.label(String label, {List<DropdownMenuItem<T>>? items, List<T>? itemsValue, T? value, Widget? hint, Widget? disabledHint, ValueChanged<T?>? onChanged, VoidCallback? onTap, DropdownButtonBuilder? selectedItemBuilder, 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, NikuInputDecoration? decoration})
factory

Properties

$parent Niku
finalinherited
aboveline → void
no setterinherited
alignLabelWithHint bool?
no getterinherited
alignment AlignmentGeometry?
getter/setter pairoverride
alwaysFloat → void
no setterinherited
apply NikuDropdownButtonFormField?
no getteroverride
applyConstraints NikuBoxConstraints
no getterinherited
applyDecoration NikuInputDecoration
no getterinherited
applyErrorStyle NikuTextStyle
no getterinherited
applyFloatingLabelStyle NikuTextStyle
no getterinherited
applyHelperStyle NikuTextStyle
no getterinherited
applyHintStyle NikuTextStyle
no getterinherited
applyLabelStyle NikuTextStyle
no getterinherited
applyPrefixIconConstraints NikuBoxConstraints
no getterinherited
applyPrefixStyle NikuTextStyle
no getterinherited
applySuffixIconConstraints NikuBoxConstraints
no getterinherited
applySuffixStyle NikuTextStyle
no getterinherited
applyTextStyle NikuTextStyle
no getterinherited
aspect double
no getterinherited
aspectRatio double
no getterinherited
autoFloat → void
no setterinherited
autofocus bool?
getter/setter pair
backgroundColor Color?
no getterinherited
baseBorderColor Color
no getterinherited
baseBorderWidth double
no getterinherited
bg Color
no getterinherited
bodyLarge BuildContext
no getterinherited
bodyMedium BuildContext
no getterinherited
bodySmall BuildContext
no getterinherited
bold → void
no setterinherited
border NikuInputBorder?
no getterinherited
borderColor Color
no getterinherited
borderRadius BorderRadius?
getter/setter pairoverride
borderWidth double
no getterinherited
bottomCenter → void
no setterinherited
bottomEnd → void
no setterinherited
bottomStart → void
no setterinherited
boxConstraints BoxConstraints
no getterinherited
center → void
no setterinherited
centerEnd → void
no setterinherited
centerStart → void
no setterinherited
color Color?
no getterinherited
constraints NikuBoxConstraints?
no getterinherited
contentPadding NikuEdgeInsets?
no getterinherited
copied NikuDropdownButtonFormField
no setteroverride
counter Widget?
no getterinherited
counterStyle NikuTextStyle?
no getterinherited
counterText String?
no getterinherited
dashed → void
no setterinherited
debugLabel String?
no getterinherited
decoration NikuInputDecoration?
getter/setter pairoverride
decorationColor Color?
no getterinherited
decorationStyle TextDecorationStyle?
no getterinherited
decorationThickness double?
no getterinherited
deps List
getter/setter pairinherited
disabledBorder NikuInputBorder?
no getterinherited
disabledBorderColor Color
no getterinherited
disabledBorderWidth double
no getterinherited
disabledHint Widget?
getter/setter pair
displayLarge BuildContext
no getterinherited
displayMedium BuildContext
no getterinherited
displaySmall BuildContext
no getterinherited
dotted → void
no setterinherited
getter/setter pair
elevation int?
getter/setter pair
enabled bool?
no getterinherited
enabledBorder NikuInputBorder?
no getterinherited
enabledBorderColor Color
no getterinherited
enabledBorderWidth double
no getterinherited
enableFeedback bool?
getter/setter pair
errorBorder NikuInputBorder?
no getterinherited
errorBorderColor Color
no getterinherited
errorBorderWidth double
no getterinherited
errorMaxLines int?
no getterinherited
errorStyle NikuTextStyle?
no getterinherited
errorText String?
no getterinherited
expanded → dynamic
no setterinherited
fh double
no getterinherited
fill → void
no setterinherited
fillColor Color?
no getterinherited
filled bool?
no getterinherited
flex int
getter/setter pairinherited
floatingLabel FloatingLabelBehavior
no getterinherited
floatingLabelBehavior FloatingLabelBehavior?
no getterinherited
floatingLabelStyle NikuTextStyle?
no getterinherited
focusColor Color?
getter/setter pairoverride-setter
focusedBorder NikuInputBorder?
no getterinherited
focusedBorderColor Color
no getterinherited
focusedBorderWidth double
no getterinherited
focusedErrorBorder NikuInputBorder?
no getterinherited
focusedErrorBorderColor Color
no getterinherited
focusedErrororderWidth double
no getterinherited
focusNode FocusNode?
getter/setter pairoverride
fontFamily String?
no getterinherited
fontFamilyFallback List<String>?
no getterinherited
fontFeatures List<FontFeature>?
no getterinherited
fontSize double?
no getterinherited
fontStyle FontStyle?
no getterinherited
fontWeight FontWeight?
no getterinherited
foreground Paint?
no getterinherited
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
helperMaxLines int?
no getterinherited
helperStyle NikuTextStyle?
no getterinherited
helperText String?
no getterinherited
hFactor double
no getterinherited
hFull → void
no setterinherited
hidden → dynamic
no setterinherited
hint Widget?
getter/setter pair
hintMaxLines int?
no getterinherited
hintStyle NikuTextStyle?
no getterinherited
hintText String?
no getterinherited
hintTextDirection TextDirection?
no getterinherited
hMax double
no getterinherited
hMin double
no getterinherited
hoverColor Color?
no getterinherited
hPercent double
no getterinherited
icon Widget?
getter/setter pairoverride-setter
iconDisabledColor Color?
getter/setter pair
iconEnabledColor Color?
getter/setter pair
iconSize double?
getter/setter pair
inherit bool
no getterinherited
isCollapsed bool?
no getterinherited
isDense bool?
getter/setter pairoverride-setter
isExpanded bool?
getter/setter pair
isFilled → void
no setterinherited
italic → void
no setterinherited
itemHeight double?
getter/setter pair
items List<DropdownMenuItem<T>>?
getter/setter pair
itemsValue List<T>?
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label Widget?
no getterinherited
labelLarge BuildContext
no getterinherited
labelMedium BuildContext
no getterinherited
labelSmall BuildContext
no getterinherited
labelStyle NikuTextStyle?
no getterinherited
labelText String?
no getterinherited
leadingDistribution TextLeadingDistribution?
no getterinherited
letterSpacing double?
no getterinherited
lineThrough → void
no setterinherited
locale Locale?
no getterinherited
m double
no getterinherited
margin EdgeInsets
no getterinherited
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
getter/setter pair
minH double
no getterinherited
minHeight double
no getterinherited
minSize List<double>
no getterinherited
minW double
no getterinherited
minWidth double
no getterinherited
ml double
no getterinherited
mr double
no getterinherited
mt double
no getterinherited
mx double
no getterinherited
my double
no getterinherited
n NikuExplictParentBuilder
no setterinherited
neverFloat → void
no setterinherited
niku Niku

Available on Widget, provided by the NikuTransform extension

no setter
noDecoration → void
no setterinherited
noUnderline → void
no setteroverride
onChanged ValueChanged<T?>?
getter/setter pair
onTap VoidCallback?
getter/setter pair
outlined → void
no setterinherited
overflow TextOverflow?
no getterinherited
p double
no getterinherited
package String?
no getterinherited
parent NikuExplictParentBuilder
no setterinherited
pb double
no getterinherited
pl double
no getterinherited
pr double
no getterinherited
prefix Widget?
no getterinherited
prefixIcon Widget?
no getterinherited
prefixIconConstraints NikuBoxConstraints?
no getterinherited
prefixStyle NikuTextStyle?
no getterinherited
prefixText String?
no getterinherited
pt double
no getterinherited
px double
no getterinherited
py double
no getterinherited
ratio double
no getterinherited
rounded double
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollable → void
no setterinherited
selectedItemBuilder DropdownButtonBuilder?
getter/setter pair
self NikuDropdownButtonFormField
no setteroverride
semanticCounterText String?
no getterinherited
shadows List<Shadow>?
no getterinherited
sizePercent List<double>
no getterinherited
sliverToBox → void
no setterinherited
solid → void
no setterinherited
style NikuTextStyle?
getter/setter pairoverride
suffix Widget?
no getterinherited
suffixIcon Widget?
no getterinherited
suffixIconConstraints NikuBoxConstraints?
no getterinherited
suffixStyle NikuTextStyle?
no getterinherited
suffixText String?
no getterinherited
textBackground Paint?
no getterinherited
textBaseline TextBaseline?
no getterinherited
textBg Color
no getterinherited
textDecoration TextDecoration?
no getterinherited
theme ThemeData
no getterinherited
tip String
no getterinherited
titleLarge BuildContext
no getterinherited
titleMedium BuildContext
no getterinherited
titleSmall BuildContext
no getterinherited
tooltip String
no getterinherited
topCenter → void
no setterinherited
topEnd → void
no setterinherited
topStart → void
no setterinherited
underline Widget?
getter/setter pairoverride-getter
underlineText → void
no setterinherited
value ↔ T?
getter/setter pair
visible bool
no getterinherited
w double
no getterinherited
w100 → void
no setterinherited
w200 → void
no setterinherited
w300 → void
no setterinherited
w400 → void
no setterinherited
w500 → void
no setterinherited
w600 → void
no setterinherited
w700 → void
no setterinherited
w800 → void
no setterinherited
w900 → void
no setterinherited
wavy → 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
wordSpacing 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(NikuDropdownButtonFormField? 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, int wrapWidth = 65}) 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<NikuDropdownButtonFormField> v) → void
inherited
useAnimationBuilder({required Widget builder(BuildContext context, Widget child), required AnimationController animation}) → void
inherited
useBorder({InputBorder? all, InputBorder? base, InputBorder? enabled, InputBorder? disabled, InputBorder? focused, InputBorder? focusedError, InputBorder? error}) → void
inherited
useBorderColor({Color? all, Color? base, Color? enabled, Color? disabled, Color? focused, Color? focusedError, Color? error}) → void
inherited
useBorderWidth({double? all, double? base, double? enabled, double? disabled, double? focused, double? focusedError, double? error}) → void
inherited
useConstraints(_UseConstraints v) → void
inherited
useDarkMode(BuildContext context, NikuDropdownButtonFormField builder(NikuDropdownButtonFormField, bool)) → void
inherited
useDecoration(NikuInputDecoration v(NikuInputDecoration)) → void
inherited
useErrorStyle(_UseStyle v) → void
inherited
useFloatingLabelStyle(_UseStyle v) → 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
useHelperStyle(_UseStyle v) → void
inherited
useHintStyle(_UseStyle v) → void
inherited
useLabelStyle(_UseStyle v) → void
inherited
useNikuBorder({NikuInputBorder? all, NikuInputBorder? base, NikuInputBorder? enabled, NikuInputBorder? disabled, NikuInputBorder? focused, NikuInputBorder? focusedError, NikuInputBorder? error}) → void
inherited
useParent(Widget compose(Niku)) → void
inherited
usePlatform(BuildContext context, {NikuDropdownButtonFormField android(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField iOS(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField fuchsia(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField linux(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField macOS(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField windows(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField web(NikuDropdownButtonFormField)?}) → void
inherited
usePrefixIconConstraints(_UseConstraints v) → void
inherited
usePrefixStyle(_UseStyle v) → void
inherited
useQuery(BuildContext context, NikuDropdownButtonFormField builder(NikuDropdownButtonFormField, MediaQueryData)) → void
inherited
useScreen(BuildContext context, {NikuDropdownButtonFormField base(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField xs(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField sm(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField md(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField lg(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField xl(NikuDropdownButtonFormField)?}) → 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, NikuDropdownButtonFormField builder(NikuDropdownButtonFormField, Size)) → void
inherited
useSuffixIconConstraints(_UseConstraints v) → void
inherited
useSuffixStyle(_UseStyle v) → void
inherited
useTextStyle(NikuTextStyle v(NikuTextStyle)) → void
override
useThemeSelector(BuildContext context, {NikuDropdownButtonFormField light(NikuDropdownButtonFormField)?, NikuDropdownButtonFormField dark(NikuDropdownButtonFormField)?}) → void
inherited
widget(BuildContext context) Widget
override

Operators

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