OverlayDefaults class

Defaults for Dialog, Popover, Dropdown, BottomSheet, Tooltip and the other floating surfaces.

Constructors

OverlayDefaults({RadiusToken? radius, List<BoxShadow>? shadows})
Creates overlay defaults.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
radius → RadiusToken?
Corner radius of Dialog, Popover, Dropdown, BottomSheet and Tooltip.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadows → List<BoxShadow>?
Shadow of every floating surface, including toasts, drawers, the attached Toolbar and the field menus. It applies in dark mode too, where overlays are otherwise flat.
final

Methods

copyWith({RadiusToken? radius, List<BoxShadow>? shadows}) → OverlayDefaults
Returns a copy with the given fields replaced.
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