fluent2BarAllowance function
The least a tab bar's allowance can be: its bar over inset, and the
act's rise when it floats over it. Plumbing of the shell.
Implementation
double fluent2BarAllowance(double inset, {bool action = false}) =>
Fluent2NavigationBar.heightIn(inset) +
(action ? math.max(0, Fluent2NavigationBar.actionRise) : 0);