JsonDropdownButtonFormFieldBuilderModel class
- Inheritance
-
- Object
- JsonClass
- JsonWidgetBuilderModel
- JsonDropdownButtonFormFieldBuilderModel
Constructors
-
JsonDropdownButtonFormFieldBuilderModel(Map<
String, dynamic> args, {Alignment? alignment, bool? autofocus, AutovalidateMode? autovalidateMode, BorderRadius? borderRadius, dynamic decoration, JsonWidgetData? disabledHint, Color? dropdownColor, int? elevation, bool? enableFeedback, bool? enabled, Color? focusColor, FocusNode? focusNode, JsonWidgetData? hint, JsonWidgetData? icon, double? iconSize, dynamic items, Color? iconDisabledColor, Color? iconEnabledColor, bool? isDense, bool? isExpanded, double? itemHeight, ValueChanged? onChanged, FormFieldSetter? onSaved, VoidCallback? onTap, dynamic selectedItemBuilder, Validator? validator, TextStyle? style, dynamic value}) -
const
Properties
- alignment → Alignment?
-
final
-
args
→ Map<
String, dynamic> -
finalinherited
- autofocus → bool?
-
final
- autovalidateMode → AutovalidateMode?
-
final
- borderRadius → BorderRadius?
-
final
- decoration → dynamic
-
final
- disabledHint → JsonWidgetData?
-
final
- dropdownColor → Color?
-
final
- elevation → int?
-
final
- enabled → bool?
-
final
- enableFeedback → bool?
-
final
- focusColor → Color?
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → JsonWidgetData?
-
final
- icon → JsonWidgetData?
-
final
- iconDisabledColor → Color?
-
final
- iconEnabledColor → Color?
-
final
- iconSize → double?
-
final
- isDense → bool?
-
final
- isExpanded → bool?
-
final
- itemHeight → double?
-
final
- items → dynamic
-
final
-
final
- onChanged → ValueChanged?
-
final
- onSaved → FormFieldSetter?
-
final
- onTap → VoidCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedItemBuilder → dynamic
-
final
- style → TextStyle?
-
final
- validator → Validator?
-
final
- value → dynamic
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Abstract function that concrete classes must implement. This must encode
the internal data model to a JSON compatible representation.
override
-
toString(
) → String -
Returns the string encoded JSON representation for this class. This will
remove all null values and empty collections from the returned string.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromDynamic(
dynamic map, {Map< String, dynamic> args = const {}, JsonWidgetRegistry? registry}) → JsonDropdownButtonFormFieldBuilderModel - Builds the builder from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
-
maybeFromDynamic(
dynamic map, {Map< String, dynamic> args = const {}, JsonWidgetRegistry? registry}) → JsonDropdownButtonFormFieldBuilderModel? - Builds the builder from a Map-like dynamic structure. This expects the JSON format to be of the following structure: