WorkflowConfig constructor
const
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 {},
Implementation
const WorkflowConfig({
this.primaryColor = Colors.blue,
this.secondaryColor = Colors.grey,
this.backgroundColor = Colors.white,
this.nodeWidth = 200.0,
this.nodeHeight = 120.0,
this.gridSize = 50.0,
this.connectionStrokeWidth = 2.0,
this.showGrid = true,
this.enableSnapping = false,
this.snapDistance = 10.0,
this.animationDuration = const Duration(milliseconds: 300),
this.customProperties = const {},
});