GlassChart constructor
const
GlassChart({
- Key? key,
- required Widget child,
- String? title,
- (Color, Color)? titleColor,
- List<
GlassChartLegendEntry> ? legend, - EdgeInsetsGeometry padding = const EdgeInsets.all(16),
- LiquidGlassSettings? settings,
- GlassQuality? quality,
- bool useOwnLayer = true,
Creates a glass chart surface around child.
Implementation
const GlassChart({
super.key,
required this.child,
this.title,
this.titleColor,
this.legend,
this.padding = const EdgeInsets.all(16),
this.settings,
this.quality,
this.useOwnLayer = true,
});