BezierDrawer class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BezierDrawer
Constructors
- BezierDrawer({Key? key, required dynamic width, required dynamic height, bool interactiveMode = true, Color? color, dynamic startFraction = .6, dynamic endFraction = .3, Offset firstStopRelativeOffset = const Offset(.3, .6), Offset secondStopRelativeOffset = const Offset(.7, .4), Offset firstControlRelativeOffset = const Offset(.5, .8), Offset secondControlRelativeOffset = const Offset(.5, 1.1), Offset lastControlRelativeOffset = const Offset(.5, 1.5)})
Properties
- color → Color?
-
final
- endFraction → dynamic
-
The end point's vertical position as a fraction of the widget's height
final
- firstControlRelativeOffset → Offset
-
The relative position of the first control point between the start and the first stop. Defaults to Offset(.5, .5).
final
- firstStopRelativeOffset → Offset
-
Relative position of the first stop on the screen from top left
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → dynamic
-
final
- interactiveMode → bool
-
Enables controls for manipulating the bezier curve.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lastControlRelativeOffset → Offset
-
The relative position of the last control point between the second stop and the end stop. Defaults to Offset(.5, .5).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondControlRelativeOffset → Offset
-
The relative position of the second control point between the first and second stop. Defaults to Offset(.5, .5).
final
- secondStopRelativeOffset → Offset
-
Relative position of the second stop on the screen from top left
final
- startFraction → dynamic
-
The starting point's vertical position as a fraction of the widget's height
final
- width → dynamic
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _BezierDrawerState -
Creates the mutable state for this widget at a given location in the tree.
override
-
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