ckcoreElevation class

Elevation tokens.

Constructors

ckcoreElevation({double none = 0, double xs = 1, double sm = 2, double md = 4, double lg = 8, double xl = 16})
const

Properties

card → double
Slight lift: list items, rows.
no setter
Floating: dropdowns, menus.
no setter
hashCode → int
The hash code for this object.
no setterinherited
lg → double
final
md → double
final
Modals, drawers.
no setter
none → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sm → double
final
surface → double
Named aliases Flat surface: backgrounds, canvas.
no setter
toast → double
Highest: toasts, alerts.
no setter
xl → double
final
xs → double
final

Methods

copyWith({double? none, double? xs, double? sm, double? md, double? lg, double? xl}) → ckcoreElevation
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

defaults → const ckcoreElevation
Default elevation tokens.