ChartSelectionLayer constructor
const
ChartSelectionLayer({
- required SelectionOverlayBuilder builder,
- bool isSticky = false,
- double translation = 0.0,
- double? initialSelectedX,
- bool isStatic = false,
Creates a new instance of ChartSelectionLayer.
The builder
is required, while isSticky
, translation
, and initialSelectedX
have default values.
Implementation
const ChartSelectionLayer({
required this.builder,
this.isSticky = false,
this.translation = 0.0,
this.initialSelectedX,
this.isStatic = false,
});