FlowChart class

Main flow chart Widget. It displays the background grid, all the elements and connection lines

Inheritance

Constructors

FlowChart({Key? key, dynamic onElementPressed(BuildContext context, Offset position, FlowElement element)?, dynamic onElementSecondaryTapped(BuildContext context, Offset position, FlowElement element)?, dynamic onElementLongPressed(BuildContext context, Offset position, FlowElement element)?, dynamic onElementSecondaryLongTapped(BuildContext context, Offset position, FlowElement element)?, dynamic onDashboardTapped(BuildContext context, Offset position)?, dynamic onDashboardSecondaryTapped(BuildContext context, Offset postision)?, dynamic onDashboardLongTapped(BuildContext context, Offset position)?, dynamic onDashboardSecondaryLongTapped(BuildContext context, Offset position)?, dynamic onHandlerPressed(BuildContext context, Offset position, Handler handler, FlowElement element)?, dynamic onHandlerSecondaryTapped(BuildContext context, Offset position, Handler handler, FlowElement element)?, dynamic onHandlerLongPressed(BuildContext context, Offset position, Handler handler, FlowElement element)?, dynamic onHandlerSecondaryLongTapped(BuildContext context, Offset position, Handler handler, FlowElement element)?, void onLineTapped(BuildContext context, Offset clickPosition, FlowElement srcElement, FlowElement destElement)?, void onLineLongPressed(BuildContext context, Offset clickPosition, FlowElement srcElement, FlowElement destElement)?, void onLineSecondaryTapped(BuildContext context, Offset clickPosition, FlowElement srcElement, FlowElement destElement)?, void onLineSecondaryLongTapped(BuildContext context, Offset clickPosition, FlowElement srcElement, FlowElement destElement)?, required Dashboard dashboard})
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 → (dynamic Function(BuildContext context, Offset position)?)
callback for long tap on dashboard
final
onDashboardSecondaryLongTapped → (dynamic Function(BuildContext context, Offset position)?)
callback for mouse right click long press on dashboard
final
onDashboardSecondaryTapped → (dynamic Function(BuildContext context, Offset postision)?)
callback for mouse right click on dashboard
final
onDashboardTapped → (dynamic Function(BuildContext context, Offset position)?)
callback for tap on dashboard
final
onElementLongPressed → (dynamic Function(BuildContext context, Offset position, FlowElement element)?)
callback for element long pressed
final
onElementPressed → (dynamic Function(BuildContext context, Offset position, FlowElement element)?)
callback for element pressed
final
onElementSecondaryLongTapped → (dynamic Function(BuildContext context, Offset position, FlowElement element)?)
callback for right click long press event on an element
final
onElementSecondaryTapped → (dynamic Function(BuildContext context, Offset position, FlowElement element)?)
callback for mouse rightclick event on an element
final
onHandlerLongPressed → (dynamic Function(BuildContext context, Offset position, Handler handler, FlowElement element)?)
callback for handler long pressed
final
onHandlerPressed → (dynamic Function(BuildContext context, Offset position, Handler handler, FlowElement element)?)
callback for handler pressed
final
onHandlerSecondaryLongTapped → (dynamic Function(BuildContext context, Offset position, Handler handler, FlowElement element)?)
callback for handler right click long press event
final
onHandlerSecondaryTapped → (dynamic Function(BuildContext context, Offset position, Handler handler, FlowElement element)?)
callback for handler right click event
final
onLineLongPressed → (void Function(BuildContext context, Offset clickPosition, FlowElement srcElement, FlowElement destElement)?)
callback for line long pressed
final
onLineSecondaryLongTapped → (void Function(BuildContext context, Offset clickPosition, FlowElement srcElement, FlowElement destElement)?)
callback for line right click long press event
final
onLineSecondaryTapped → (void Function(BuildContext context, Offset clickPosition, FlowElement srcElement, FlowElement destElement)?)
callback for line right click event
final
onLineTapped → (void Function(BuildContext context, Offset clickPosition, FlowElement srcElement, FlowElement destElement)?)
callback for line tapped
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}) 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