allowance static method

double allowance({
  1. required double systemInset,
  2. bool action = false,
  3. double accessory = 0,
})

The allowance of a shell before it has measured itself.

Implementation

static double allowance({
  required double systemInset,
  bool action = false,
  double accessory = 0,
}) =>
    fluent2BarAllowance(systemInset, action: action) +
    (accessory > 0 ? accessory + Fluent2ChromeMetrics.accessoryGap : 0);