GlassBarSheetItem constructor
const
GlassBarSheetItem({
- required Widget icon,
- required void onPresent(
- GlassMorphAnchor? anchor
- Object? id,
- String? label,
- bool enabled = true,
- GlassBarItemBackground background = GlassBarItemBackground.shared,
- Color? tintColor,
- GlassBarItemAxisBehavior axisBehavior = GlassBarItemAxisBehavior.automatic,
Creates a sheet item. Prefer GlassBarItem.sheet.
Implementation
const GlassBarSheetItem({
required this.icon,
required this.onPresent,
super.id,
super.label,
super.enabled,
super.background,
super.tintColor,
super.axisBehavior,
}) : super(onTap: GlassBarActionItem._noOp);