ChartCustomLayer constructor
const
ChartCustomLayer({
- required WidgetBuilder builder,
- BoundingBox bounds = const BoundingBox.flexible(),
- bool isStatic = false,
Creates a new instance of ChartCustomLayer with the specified widget builder and bounds.
The builder
parameter is required and represents the builder for the widget.
The bounds
parameter is optional and defines the bounds of this layer.
Implementation
const ChartCustomLayer({
required this.builder,
this.bounds = const BoundingBox.flexible(),
this.isStatic = false,
});