DropdownPlusThemeStyle enum
Predefined visual styles for SearchableDropdownPlus and MultiSelectDropdownPlus.
Pass themeStyle to either widget to get an out-of-the-box look without
building a custom DropdownPlusTheme. You can still override specific
properties via dropdownTheme after applying a preset.
Example
MultiSelectDropdownPlus<MyCubit, MyState>(
themeStyle: DropdownPlusThemeStyle.minimal,
cubit: myCubit,
hintText: 'Select…',
onSearch: myCubit.search,
onStateChange: ...,
)
Values
- material → const DropdownPlusThemeStyle
-
Default Material-style look: white background, primary accents, standard radii.
- minimal → const DropdownPlusThemeStyle
-
Light borders, subtle backgrounds, minimal visual weight.
- rounded → const DropdownPlusThemeStyle
-
Large border radii and soft shadows for a rounded, card-like feel.
- outlined → const DropdownPlusThemeStyle
-
Strong border, transparent or light fill; emphasis on the outline.
- dark → const DropdownPlusThemeStyle
-
Dark surfaces and light text for use in dark UIs or dark mode.
- compact → const DropdownPlusThemeStyle
-
Tighter padding and smaller typography for dense layouts.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
DropdownPlusThemeStyle> - A constant List of the values in this enum, in order of their declaration.