ChartContainer constructor

const ChartContainer({
  1. Key? key,
  2. required Widget child,
  3. ChartTheme? theme,
  4. EdgeInsets padding = const EdgeInsets.all(16.0),
  5. String? title,
  6. String? subtitle,
  7. bool useGlassmorphism = false,
  8. bool useNeumorphism = false,
  9. bool isLoading = false,
  10. bool isError = false,
  11. String? errorMessage,
})

Implementation

const ChartContainer({
  super.key,
  required this.child,
  this.theme,
  this.padding = const EdgeInsets.all(16.0),
  this.title,
  this.subtitle,
  this.useGlassmorphism = false,
  this.useNeumorphism = false,
  this.isLoading = false,
  this.isError = false,
  this.errorMessage,
});