FdcEditorComboPopupStyle class
Visual styling for combo-editor popup surfaces, search UI, and option rows.
Partial styles can be merged over the resolved editor theme.
Constructors
- FdcEditorComboPopupStyle({Color? backgroundColor, Color? surfaceTintColor, Color? shadowColor, Color? borderColor, double? elevation, BorderRadiusGeometry? borderRadius, TextStyle? itemTextStyle, Color? highlightedItemColor, Color? selectedIconColor, TextStyle? emptyTextStyle, Color? searchFillColor, TextStyle? searchTextStyle, TextStyle? searchHintStyle, Color? searchIconColor, Color? searchClearIconColor, Color? searchBorderColor, Color? searchFocusedBorderColor, double? searchBorderWidth, double? searchFocusedBorderWidth, BorderRadiusGeometry? searchBorderRadius})
-
Creates a FdcEditorComboPopupStyle.
const
Properties
- backgroundColor → Color?
-
Background color of the combo popup surface.
final
- borderColor → Color?
-
Border color in the normal state.
final
- borderRadius → BorderRadiusGeometry?
-
Corner radius of the editor surface.
final
- elevation → double?
-
Elevation of the combo popup surface.
final
- emptyTextStyle → TextStyle?
-
Text style used when no combo options match.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- highlightedItemColor → Color?
-
Background color of the currently highlighted option.
final
- itemTextStyle → TextStyle?
-
Text style used for combo option labels.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchBorderColor → Color?
-
Border color of the combo search field.
final
- searchBorderRadius → BorderRadiusGeometry?
-
Corner radius of the combo search field.
final
- searchBorderWidth → double?
-
Border width of the combo search field.
final
- searchClearIconColor → Color?
-
Color of the combo search clear icon.
final
- searchFillColor → Color?
-
Background fill color of the combo search field.
final
- searchFocusedBorderColor → Color?
-
Border color of the combo search field while focused.
final
- searchFocusedBorderWidth → double?
-
Border width of the focused combo search field.
final
- searchHintStyle → TextStyle?
-
Text style of combo search hint text.
final
- searchIconColor → Color?
-
Color of the combo search icon.
final
- searchTextStyle → TextStyle?
-
Text style of combo search input.
final
- selectedIconColor → Color?
-
Color of the selected-option indicator icon.
final
- shadowColor → Color?
-
Shadow color of the combo popup.
final
- surfaceTintColor → Color?
-
Material surface tint applied to the combo popup.
final
Methods
-
copyWith(
{Color? backgroundColor, Color? surfaceTintColor, Color? shadowColor, Color? borderColor, double? elevation, BorderRadiusGeometry? borderRadius, TextStyle? itemTextStyle, Color? highlightedItemColor, Color? selectedIconColor, TextStyle? emptyTextStyle, Color? searchFillColor, TextStyle? searchTextStyle, TextStyle? searchHintStyle, Color? searchIconColor, Color? searchClearIconColor, Color? searchBorderColor, Color? searchFocusedBorderColor, double? searchBorderWidth, double? searchFocusedBorderWidth, BorderRadiusGeometry? searchBorderRadius}) → FdcEditorComboPopupStyle - Creates a copy with selected values replaced.
-
lerp(
FdcEditorComboPopupStyle other, double t) → FdcEditorComboPopupStyle -
Linearly interpolates this style toward
otherbyt. -
merge(
FdcEditorComboPopupStyle? override) → FdcEditorComboPopupStyle -
Merges non-null properties from
overrideover this style. -
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.
override
Constants
- defaults → const FdcEditorComboPopupStyle
- Fully resolved fallback style used as the base of style merging.