SFDropdown constructor
const
SFDropdown({
- Key? key,
- required List<
DropdownOption> options, - required ValueChanged<
String> onChanged, - String? selectedValue,
- String placeholder = "Select an option",
- ComponentSize size = ComponentSize.md,
- bool isError = false,
Implementation
const SFDropdown({
super.key,
required this.options,
required this.onChanged,
this.selectedValue,
this.placeholder = "Select an option",
this.size = ComponentSize.md,
this.isError = false,
});