ExpressiveShellInsets class abstract final

The bottom allowance the shell asks each branch root to reserve (CONTRACT §4.2 ExpressiveShellInsets): the bar (64dp) + the system's bottom inset + the floating action button's clearance + the docked accessory. The shell publishes it through the design kit's ShellInsets; a screen reads it with of.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

allowance({required double systemInset, bool action = false, double accessory = 0}) → double
The allowance of a phone's shell before it has measured itself: the bar over systemInset, the accessory's height, and with an action the floating action button and its 16dp gap.
of(BuildContext context) → double
The allowance context's page reserves: the shell's on a branch root, 0 on a pushed page, a sheet, or outside a shell (ShellInsets.of).