GlassPinnedBarChrome constructor
const
GlassPinnedBarChrome({
- Key? key,
- required GlassPinnedBarChromeBuilder builder,
- List<
GlassBarItem> leading = const <GlassBarItem>[], - List<
GlassBarItem> actions = const <GlassBarItem>[], - bool backButton = true,
- bool leadingItemsSupplementBackButton = false,
- VoidCallback? onBack,
- double? buttonSize,
- double? toolbarHeight,
- LiquidGlassSettings? buttonSettings,
- double? horizontalInset,
- bool platformViewBackdrop = false,
- GlassLargeTitleController? largeTitleController,
- double? stripRowTop,
- bool enabled = true,
Creates a registrant that pins leading, actions and an automatic
back button.
Implementation
const GlassPinnedBarChrome({
super.key,
required this.builder,
this.leading = const <GlassBarItem>[],
this.actions = const <GlassBarItem>[],
this.backButton = true,
this.leadingItemsSupplementBackButton = false,
this.onBack,
this.buttonSize,
this.toolbarHeight,
this.buttonSettings,
this.horizontalInset,
this.platformViewBackdrop = false,
this.largeTitleController,
this.stripRowTop,
this.enabled = true,
}) : assert(buttonSize == null || buttonSize > 0),
assert(toolbarHeight == null || toolbarHeight >= 0);