Graph constructor
Graph({
- double gridStep = 100,
- double sensibility = 0.6,
- TextStyle numbersStyle = const TextStyle(color: Colors.white, backgroundColor: Colors.black),
- Color backgroundColor = Colors.black,
- Color axesColor = Colors.white,
- Color gridColor = Colors.grey,
- double gridWidth = 1.0,
- double axesWidth = 2.0,
- bool drawAxes = true,
- bool drawNumbers = true,
Creates a Graph instance with the specified configuration and settings.
Implementation
Graph({
this.gridStep = 100,
this.sensibility = 0.6,
this.numbersStyle =
const TextStyle(color: Colors.white, backgroundColor: Colors.black),
this.backgroundColor = Colors.black,
this.axesColor = Colors.white,
this.gridColor = Colors.grey,
this.gridWidth = 1.0,
this.axesWidth = 2.0,
this.drawAxes = true,
this.drawNumbers = true,
});