CuReDropdown constructor
const
CuReDropdown({
- Key? key,
- required List<
CuReDropdownItem> items, - required ValueChanged<
CuReDropdownItem> onChanged, - int? selectedIndex,
- double dropdownWidth = 200,
- double dropdownMaxHeight = 260,
- double edgePadding = 8,
- DropdownDirection preferDirection = DropdownDirection.auto,
- Icon? icon,
- bool? showSelectedItem = true,
- Color? color,
- bool? showBorder = false,
- String? title,
- bool? solid,
- bool? disabled,
- BuildContext? context,
Implementation
const CuReDropdown({
Key? key,
required this.items,
required this.onChanged,
this.selectedIndex,
this.dropdownWidth = 200,
this.dropdownMaxHeight = 260,
this.edgePadding = 8,
this.preferDirection = DropdownDirection.auto,
this.icon,
this.showSelectedItem = true,
this.color,
this.showBorder = false,
this.title,
this.solid,
this.disabled,
this.context,
}) : super(key: key);