ChartApiSurface constructor

const ChartApiSurface({
  1. Key? key,
  2. required Widget child,
  3. bool isEmpty = false,
  4. double? width,
  5. double? height,
  6. WidgetBuilder? emptyBuilder,
  7. String emptyLabel = 'No data',
  8. String? semanticLabel,
  9. String? emptySemanticLabel,
  10. ChartAccessibilityOptions accessibility = ChartApiDefaults.accessibility,
  11. bool semanticsImage = true,
  12. bool semanticsContainer = true,
})

Implementation

const ChartApiSurface({
  super.key,
  required this.child,
  this.isEmpty = false,
  this.width,
  this.height,
  this.emptyBuilder,
  this.emptyLabel = 'No data',
  this.semanticLabel,
  this.emptySemanticLabel,
  this.accessibility = ChartApiDefaults.accessibility,
  this.semanticsImage = true,
  this.semanticsContainer = true,
});