DropDownTextField constructor
const
DropDownTextField({
- required TextEditingController textEditingController,
- String? title,
- required String hint,
- required Map<
int, String> options, - List<
int> ? selectedOptions, - dynamic onChanged()?,
- bool multiple = false,
- Key? key,
- InputDecoration? decoration,
- TextCapitalization? textCapitalization,
- TextInputAction? textInputAction,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextDirection? textDirection,
- TextAlign? textAlign,
- TextAlignVertical? textAlignVertical,
- int? maxLines,
- int? minLines,
- bool isSearchVisible = true,
Implementation
const DropDownTextField({
required this.textEditingController,
this.title,
required this.hint,
required this.options,
this.selectedOptions,
this.onChanged,
this.multiple = false,
Key? key,
/// optional parameters
this.decoration,
this.textCapitalization,
this.textInputAction,
this.style,
this.strutStyle,
this.textDirection,
this.textAlign,
this.textAlignVertical,
this.maxLines,
this.minLines,
this.isSearchVisible = true,
}) : super(key: key);