fluent2BarAllowance function

double fluent2BarAllowance(
  1. double inset, {
  2. bool action = false,
})

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);