AnchoredPopupMenuStyle class

Controls the popup menu surface and transition styling.

Annotations

Constructors

AnchoredPopupMenuStyle({EdgeInsetsGeometry padding = _anchoredPopupMenuPadding, Duration transitionDuration = _anchoredPopupMenuAnimationDuration, double elevation = 4, Color? color, Color? shadowColor, Color surfaceTintColor = Colors.transparent, ShapeBorder shape = _anchoredPopupMenuShape})
Creates the visual styling for an anchored popup menu.
const

Properties

color → Color?
Popup menu background color.
final
elevation → double
Material elevation applied to the popup menu surface.
final
hashCode → int
The hash code for this object.
no setterinherited
padding → EdgeInsetsGeometry
Padding applied around the popup menu content.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadowColor → Color?
Popup menu shadow color.
final
shape → ShapeBorder
Popup menu shape.
final
surfaceTintColor → Color
Popup menu surface tint color.
final
transitionDuration → Duration
Duration of the popup menu route transition.
final

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

floatingSurface → const AnchoredPopupMenuStyle
App-wide floating popup menu styling shared by floating controls.