SingleSelectionDropdownWidget constructor
const
SingleSelectionDropdownWidget({
- Key? key,
- required FutureOr<
List< data,DropDownModel> > - required String label,
- required ValueNotifier<
DropDownModel?> listener, - ValueChanged<
DropDownModel?> ? onSelected, - String? validator(
- DropDownModel?
- bool showSubtitle = true,
- bool showSearchBox = false,
- bool enabled = true,
Implementation
const SingleSelectionDropdownWidget({
super.key,
required this.data,
required this.label,
required this.listener,
this.onSelected,
this.validator,
this.showSubtitle = true,
this.showSearchBox = false,
this.enabled = true,
});