XfdnDrowdownFormField<T extends BaseModel> constructor
const
XfdnDrowdownFormField<T extends BaseModel> ({
- Key? key,
- String? hintText = "",
- dynamic onChanged(
- T? value
- FormFieldValidator<
T> ? validator, - double height = 0,
- double? borderRadius,
- Color? borderColor,
- String? label,
- bool required = false,
- EdgeInsets edgeInsets = const EdgeInsets.symmetric(vertical: 4),
- Color fillColor = Colors.white,
- Color textColor = Colors.black,
- required List<
T> items, - double? width,
- T? selectedItem,
Implementation
const XfdnDrowdownFormField({
super.key,
this.hintText = "",
this.onChanged,
this.validator,
this.height = 0,
this.borderRadius,
this.borderColor,
this.label,
this.required = false,
this.edgeInsets = const EdgeInsets.symmetric(vertical: 4),
this.fillColor = Colors.white,
this.textColor = Colors.black,
required this.items,
this.width,
this.selectedItem,
});