GlassPopover constructor
- Key? key,
- required Widget child,
- required WidgetBuilder popoverBuilder,
- GlassPopoverController? controller,
- bool tapToToggle = true,
- GlassPopoverDirection direction = GlassPopoverDirection.below,
- Alignment alignment = Alignment.center,
- double gap = 8,
- double? width,
- EdgeInsetsGeometry padding = const EdgeInsets.all(14),
- double radius = 22,
- ValueChanged<
bool> ? onOpenChanged,
Springs a card built by popoverBuilder out of child.
Implementation
const GlassPopover({
super.key,
required this.child,
required this.popoverBuilder,
this.controller,
this.tapToToggle = true,
this.direction = GlassPopoverDirection.below,
this.alignment = Alignment.center,
this.gap = 8,
this.width,
this.padding = const EdgeInsets.all(14),
this.radius = 22,
this.onOpenChanged,
});