FormMapDropdownFieldPicker class

Class that defines the picker style for selection from Map.

Pass Map<String, String> to data. Key in Map is the ID for selection and Value is the display label for selection.

Mapから選択するためのピッカースタイルを定義するクラス。

Map<String, String>dataに渡します。 MapのKeyが選択用のID、Valueが選択用の表示ラベルになります。

Available Extensions

Constructors

FormMapDropdownFieldPicker({required Map<String, String> data, Color? backgroundColor, Color? color})
Class that defines the picker style for selection from Map.

Properties

backgroundColor Color?
Background color of the picker.
final
color Color?
Foreground view of the picker.
final
data Map<String, String>
Data for options.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) List<Widget>
Build the picker.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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