SeniorDropdownButton<T> constructor
const
SeniorDropdownButton<T> ({
- Key? key,
- bool disabled = false,
- String? helper,
- IconData? icon,
- required String label,
- required dynamic onSelected(
- dynamic
- bool showUnderline = true,
- SeniorDropdownButtonStyle? style,
- String? validator(
- dynamic
- required T value,
- required List<
SeniorDropdownButtonItem> items,
Creates the Senior Design System dropdown. The label, onSelected, value and items parameters are required.
Implementation
const SeniorDropdownButton({
Key? key,
this.disabled = false,
this.helper,
this.icon,
required this.label,
required this.onSelected,
this.showUnderline = true,
this.style,
this.validator,
required this.value,
required this.items,
}) : assert(items.length > 0),
super(key: key);