WorkflowConfig class

Constructors

WorkflowConfig({Color primaryColor = Colors.blue, Color secondaryColor = Colors.grey, Color backgroundColor = Colors.white, double nodeWidth = 200.0, double nodeHeight = 120.0, double gridSize = 50.0, double connectionStrokeWidth = 2.0, bool showGrid = true, bool enableSnapping = false, double snapDistance = 10.0, Duration animationDuration = const Duration(milliseconds: 300), Map<String, dynamic> customProperties = const {}})
const

Properties

animationDuration Duration
final
backgroundColor Color
final
connectionStrokeWidth double
final
customProperties Map<String, dynamic>
final
enableSnapping bool
final
gridSize double
final
hashCode int
The hash code for this object.
no setterinherited
nodeHeight double
final
nodeWidth double
final
primaryColor Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryColor Color
final
showGrid bool
final
snapDistance double
final

Methods

copyWith({Color? primaryColor, Color? secondaryColor, Color? backgroundColor, double? nodeWidth, double? nodeHeight, double? gridSize, double? connectionStrokeWidth, bool? showGrid, bool? enableSnapping, double? snapDistance, Duration? animationDuration, Map<String, dynamic>? customProperties}) WorkflowConfig
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