ChartCustomLayer constructor

const ChartCustomLayer({
  1. required WidgetBuilder builder,
  2. BoundingBox bounds = const BoundingBox.flexible(),
  3. 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,
});