CustomDropdownTextField<T> constructor
const
CustomDropdownTextField<T> ({
- Key? key,
- required String title,
- required List<
T> dataList, - required String item(
- T data
- required ValueChanged<
T?> onChanged, - FormFieldSetter<
T> ? onSaved, - FormFieldValidator? validator,
- double? width,
- T? value,
- double? textFontSize,
Implementation
const CustomDropdownTextField({
Key? key,
required this.title,
required this.dataList,
required this.item,
required this.onChanged,
this.onSaved,
this.validator,
this.width,
this.value,
this.textFontSize,
}) : super(key: key);