DropDownItemState<T> constructor
DropDownItemState<T> (
- T value, {
- required String label,
Creates a new instance of DropDownItemState.
value
: The value associated with the dropdown item (required).label
: The label or name of the dropdown item (required).
Implementation
DropDownItemState(T value, {required String label})
: super(value: value, label: label, rules: const []);