FormItemDynamicLabeledDropdownField constructor
const
FormItemDynamicLabeledDropdownField({
- TextEditingController? controller,
- required Map<
String, String> items, - String? labelText,
- String? lengthErrorText = "",
- Widget? prefix,
- Widget? suffix,
- void onSaved()?,
- double dropdownWidth = 100,
- bool dense = false,
- Color? backgroundColor,
- Color? dropdownColor,
- void onChanged()?,
- bool enabled = true,
- List<
String> suggestion = const [], - String validator()?,
- String separator = ":",
- TextInputType keyboardType = TextInputType.text,
- int? maxLength,
- int? minLength,
- int? maxLines,
- int minLines = 1,
- void onDeleteSuggestion(
- String value
- bool allowEmpty = false,
- String? hintText,
- bool readOnly = false,
- bool obscureText = false,
- String? counterText = "",
Implementation
const FormItemDynamicLabeledDropdownField(
{this.controller,
required this.items,
this.labelText,
this.lengthErrorText = "",
this.prefix,
this.suffix,
this.onSaved,
this.dropdownWidth = 100,
this.dense = false,
this.backgroundColor,
this.dropdownColor,
this.onChanged,
this.enabled = true,
this.suggestion = const [],
this.validator,
this.separator = ":",
this.keyboardType = TextInputType.text,
this.maxLength,
this.minLength,
this.maxLines,
this.minLines = 1,
this.onDeleteSuggestion,
this.allowEmpty = false,
this.hintText,
this.readOnly = false,
this.obscureText = false,
this.counterText = ""});