ChartApiSurface constructor
const
ChartApiSurface({
- Key? key,
- required Widget child,
- bool isEmpty = false,
- double? width,
- double? height,
- WidgetBuilder? emptyBuilder,
- String emptyLabel = 'No data',
- String? semanticLabel,
- String? emptySemanticLabel,
- ChartAccessibilityOptions accessibility = ChartApiDefaults.accessibility,
- bool semanticsImage = true,
- 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,
});