CoolDropdownItem<T> class
Constructors
- CoolDropdownItem({required String label, bool isSelected = false, Widget? icon, Widget? selectedIcon, required T value})
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → Widget?
-
final
- isSelected → bool
-
final
- label → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIcon → Widget?
-
final
- value → T
-
final
Methods
-
copyWith(
{String? label, bool? isSelected, Widget? icon, Widget? selectedIcon, T? value}) → CoolDropdownItem< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override