FlowChart class
Main flow chart Widget. It displays the background grid, all the elements and connection lines
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FlowChart
Constructors
- FlowChart({required Dashboard dashboard, Key? key, void onElementPressed(BuildContext context, Offset position, FlowElement element)?, void onElementSecondaryTapped(BuildContext context, Offset position, FlowElement element)?, void onElementLongPressed(BuildContext context, Offset position, FlowElement element)?, void onElementSecondaryLongTapped(BuildContext context, Offset position, FlowElement element)?, void onDashboardTapped(BuildContext context, Offset position)?, void onDashboardSecondaryTapped(BuildContext context, Offset postision)?, void onDashboardLongTapped(BuildContext context, Offset position)?, void onDashboardSecondaryLongTapped(BuildContext context, Offset position)?, void onHandlerPressed(BuildContext context, Offset position, Handler handler, FlowElement element)?, void onHandlerSecondaryTapped(BuildContext context, Offset position, Handler handler, FlowElement element)?, void onHandlerLongPressed(BuildContext context, Offset position, Handler handler, FlowElement element)?, void onHandlerSecondaryLongTapped(BuildContext context, Offset position, Handler handler, FlowElement element)?, void onPivotPressed(BuildContext context, Pivot pivot)?, void onPivotSecondaryPressed(BuildContext context, Pivot pivot)?, void onScaleUpdate(double scale)?, ConnectionListener? onNewConnection})
-
const
Properties
- dashboard → Dashboard
-
main dashboard to use
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onDashboardLongTapped → void Function(BuildContext context, Offset position)?
-
callback for long tap on dashboard
final
- onDashboardSecondaryLongTapped → void Function(BuildContext context, Offset position)?
-
callback for mouse right click long press on dashboard
final
- onDashboardSecondaryTapped → void Function(BuildContext context, Offset postision)?
-
callback for mouse right click on dashboard
final
- onDashboardTapped → void Function(BuildContext context, Offset position)?
-
callback for tap on dashboard
final
- onElementLongPressed → void Function(BuildContext context, Offset position, FlowElement element)?
-
callback for element long pressed
final
- onElementPressed → void Function(BuildContext context, Offset position, FlowElement element)?
-
callback for element pressed
final
- onElementSecondaryLongTapped → void Function(BuildContext context, Offset position, FlowElement element)?
-
callback for right click long press event on an element
final
- onElementSecondaryTapped → void Function(BuildContext context, Offset position, FlowElement element)?
-
callback for mouse right click event on an element
final
- onHandlerLongPressed → void Function(BuildContext context, Offset position, Handler handler, FlowElement element)?
-
callback for handler long pressed
final
- onHandlerPressed → void Function(BuildContext context, Offset position, Handler handler, FlowElement element)?
-
callback for handler pressed
final
- onHandlerSecondaryLongTapped → void Function(BuildContext context, Offset position, Handler handler, FlowElement element)?
-
callback for handler right click long press event
final
- onHandlerSecondaryTapped → void Function(BuildContext context, Offset position, Handler handler, FlowElement element)?
-
callback for handler right click event
final
- onNewConnection → ConnectionListener?
-
callback when adding a new connection
final
- onPivotPressed → void Function(BuildContext context, Pivot pivot)?
-
callback for onclick event of pivot
final
- onPivotSecondaryPressed → void Function(BuildContext context, Pivot pivot)?
-
callback for secondary press event of pivot
final
- onScaleUpdate → void Function(double scale)?
-
Trigger for the scale change
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FlowChart> -
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, int wrapWidth = 65}) → 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