GraphFunction class
Represents a mathematical function that can be drawn on a graph.
Constructors
- GraphFunction({required dynamic function(double enter), required Color color})
-
Creates a GraphFunction with the specified mathematical
function
andcolor
.
Properties
Methods
-
draw(
Canvas canvas, Size size, Graph graph) → void -
Draws the graph of the function on the given
canvas
with the providedsize
andgraph
settings. -
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