allowance static method
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.
Implementation
static double allowance({
required double systemInset,
bool action = false,
double accessory = 0,
}) =>
ExpressiveChromeMetrics.navBarHeight +
systemInset +
accessory +
(action ? ExpressiveChromeMetrics.fabClearance : 0);