FdcGridPopupMenuStyle class
Colors and state styling for grid popup and column menus.
Constructors
- FdcGridPopupMenuStyle({Color? backgroundColor, Color? borderColor, Color? shadowColor, Color? textColor, Color? secondaryTextColor, Color? iconColor, Color? disabledTextColor, Color? disabledIconColor, Color? hoverColor, Color? selectedItemColor, Color? pressedColor, Color? separatorColor})
-
Creates a FdcGridPopupMenuStyle.
const
Properties
- backgroundColor → Color?
-
Menu surface background color.
final
- borderColor → Color?
-
Border color around the menu surface.
final
- disabledIconColor → Color?
-
Icon color used for disabled menu entries.
final
- disabledTextColor → Color?
-
Text color used for disabled menu entries.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hoverColor → Color?
-
Background overlay color for hovered menu entries.
final
- iconColor → Color?
-
Color used for enabled menu item icons.
final
- pressedColor → Color?
-
Background overlay color while a menu entry is pressed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryTextColor → Color?
-
Secondary and shortcut-label text color.
final
- selectedItemColor → Color?
-
Background color used for selected or checked entries.
final
- separatorColor → Color?
-
Color of divider lines between menu groups.
final
- shadowColor → Color?
-
Shadow color used by the menu elevation effect.
final
- textColor → Color?
-
Primary menu item text color.
final
Methods
-
copyWith(
{Color? backgroundColor, Color? borderColor, Color? shadowColor, Color? textColor, Color? secondaryTextColor, Color? iconColor, Color? disabledTextColor, Color? disabledIconColor, Color? hoverColor, Color? selectedItemColor, Color? pressedColor, Color? separatorColor}) → FdcGridPopupMenuStyle - Creates a copy with selected values replaced.
-
lerp(
FdcGridPopupMenuStyle other, double t) → FdcGridPopupMenuStyle - Interpolates between two styles for animated theme transitions.
-
merge(
FdcGridPopupMenuStyle? override) → FdcGridPopupMenuStyle -
Returns this style with non-null values from
overrideapplied. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
) → FdcGridPopupMenuStyle - Resolves nullable style values against the supplied fallback style.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- defaults → const FdcGridPopupMenuStyle
- Built-in popup and column-menu palette used when no menu style overrides are supplied.