FormMapDropdownFieldPicker constructor

FormMapDropdownFieldPicker({
  1. required Map<String, String> data,
  2. Color? backgroundColor,
  3. Color? color,
})

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が選択用の表示ラベルになります。

Implementation

FormMapDropdownFieldPicker({
  required this.data,
  this.backgroundColor,
  this.color,
});