GlassPanel constructor
const
GlassPanel({
- required Widget child,
- Key? key,
- String? title,
- String? subtitle,
- LiquidGlassConfig? config,
- EdgeInsetsGeometry padding = const EdgeInsets.all(16),
- EdgeInsetsGeometry margin = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
Creates a glass panel containing child.
Implementation
const GlassPanel({
required this.child,
super.key,
this.title,
this.subtitle,
this.config,
this.padding = const EdgeInsets.all(16),
this.margin = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
});