GraphFunction constructor
Creates a GraphFunction with the specified mathematical function and color.
Implementation
GraphFunction({
required this.function,
required Color color,
}) {
paint.color = color;
}
Creates a GraphFunction with the specified mathematical function and color.
GraphFunction({
required this.function,
required Color color,
}) {
paint.color = color;
}