Graph class

Represents a graph configuration and settings.

Constructors

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.

Properties

axesColor → Color
final
axesWidth → double
final
backgroundColor → Color
final
constObjects → List<DrawableObject>
final
drawableObjects ↔ List<DrawableObject>
getter/setter pair
drawAxes → bool
final
drawNumbers → bool
final
focusPoint ↔ GraphOffset
getter/setter pair
functions ↔ List<GraphFunction>
getter/setter pair
gridColor → Color
final
gridStep ↔ double
getter/setter pair
gridWidth → double
final
hashCode → int
The hash code for this object.
no setterinherited
numbersStyle → TextStyle
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sensibility → double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited