GlassVerticalBar.disabled constructor

const GlassVerticalBar.disabled({
  1. Key? key,
  2. required Widget child,
})

Keeps the bars in child horizontal under a strip.

For a column the strip does not belong to. Natively a UISplitViewController gives the strip to the column against it, and the column beside it keeps a horizontal tab bar and navigation bar; wrap that column in this.

A GlassPinnedBarChrome or GlassAppBar.pinned inside it stays out of the GlassNavigationShell while the shell has a strip, and draws its chrome in-route: the shell pins chrome against the window, not against the column.

Implementation

const GlassVerticalBar.disabled({super.key, required super.child})
    : data = null;