GlassChart constructor

const GlassChart({
  1. Key? key,
  2. required Widget child,
  3. String? title,
  4. (Color, Color)? titleColor,
  5. List<GlassChartLegendEntry>? legend,
  6. EdgeInsetsGeometry padding = const EdgeInsets.all(16),
  7. LiquidGlassSettings? settings,
  8. GlassQuality? quality,
  9. 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,
});