GlassCard constructor
- Key? key,
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- Widget? child,
- VoidCallback? onTap,
- double borderRadius = 24,
- EdgeInsetsGeometry padding = const EdgeInsets.all(16),
- Color? tint,
- String? semanticLabel,
- FocusNode? focusNode,
- bool autofocus = false,
- GlassMode mode = GlassMode.auto,
Creates a card of glass.
Implementation
const GlassCard({
super.key,
this.leading,
this.title,
this.subtitle,
this.trailing,
this.child,
this.onTap,
this.borderRadius = 24,
this.padding = const EdgeInsets.all(16),
this.tint,
this.semanticLabel,
this.focusNode,
this.autofocus = false,
this.mode = GlassMode.auto,
});