A namespace containing different plot component variants.
Use Plot.ofX for y = f(x) functions, Plot.ofY for x = f(y) functions, or Plot.parametric for parametric curves.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
ofX(
{Key? key, required double y(double x), (double, double)? domain, Color? color, double opacity = 1.0, double weight = 2, StrokeStyle style = StrokeStyle.solid, int minSamplingDepth = 8, int maxSamplingDepth = 14}) → Widget - Creates a plot of y = f(x).
-
ofY(
{Key? key, required double x(double x), (double, double)? domain, Color? color, double opacity = 1.0, double weight = 2, StrokeStyle style = StrokeStyle.solid, int minSamplingDepth = 8, int maxSamplingDepth = 14}) → Widget - Creates a plot of x = f(y).
-
parametric(
{Key? key, required Offset xy(double t), required (double, double) domain, Color? color, double opacity = 1.0, double weight = 2, StrokeStyle style = StrokeStyle.solid, int minSamplingDepth = 8, int maxSamplingDepth = 14}) → Widget - Creates a parametric curve plot.