FunctionGraphic class
Build a StatelessWidget : Container of defined size containing the graphic
The graph represents the function associated with the property f
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- FunctionGraphic
Constructors
-
FunctionGraphic({required Size size, required Color? colorAxes, required List<
Function> functions, required List<Function> functionsXt, required List<Function> functionsYt, int? nbGradX, int? nbGradY, double? minX, double? maxX, double? minY, double? maxY, double? minT, double? maxT, List<Color> ? colors, List<Color> ? colorsParam, double? strokeLine})
Properties
- colorAxes → Color?
-
colors of the axes of the graphic
final
-
colors
→ List<
Color> ? -
colors of the curves associated with the List functions.
final
-
colorsParam
→ List<
Color> ? -
colors of the curves associated with the List functionsXt and functionsYt.
final
-
functions
→ List<
Function> -
List of functions to be represented.
final
-
functionsXt
→ List<
Function> -
List of functions parametrized : return abscissa of the point of the curve with parameter t.
final
-
functionsYt
→ List<
Function> -
List of functions parametrized : return ordinate of the point of the curve with parameter t.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxT → double?
-
Maximum value of the parameter t.
final
- maxX → double?
-
Maximum value of the horizontal axis.
final
- maxY → double?
-
Maximum value of the vertical axis.
final
- minT → double?
-
Minimum value of the parameter t.
final
- minX → double?
-
Minimum value of the horizontal axis.
final
- minY → double?
-
Minimum value of the vertical axis.
final
- nbGradX → int?
-
Number of graduations on the horizontal axis
final
- nbGradY → int?
-
Number of graduations on the vertical axis
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
The size of the container returned.
final
- strokeLine → double?
-
Stoke of the lines.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited