ProgrammingBlocksDependency class
Constructors
-
ProgrammingBlocksDependency({Color? backgroundCanvasColor, Curve? creationPanelAnimationCurve, Duration? creationPanelAnimationDuration, Color? creationPanelBackgroundColor, double? creationPanelHeight, Widget creationPanelOpenCloseBuilder()?, Widget creationSectionButtonBuilder(BuildContext context, CreationSectionData creationSectionData, bool selected)?, double defaultFuntionSize = 2000, Duration? doubleTapAnimDuration, int dragDelay = 100, bool drawMainScope = true, bool enableFunctions = true, Color? foregroundCanvasColor, Color? functionsSectionColor, Widget functionTabsBuilder(BuildContext context, String tabName, bool selected)?, Widget? injectorChild, Key? key, String mainFunctionName = 'Main', dynamic onChangeRunningState(RunningState runningState)?, dynamic onProjectChange(ProgrammingBlocksProjectModel projectModel)?, double? opacityScrollBars, ProgrammingBlocksProjectModel? projectModel, double? radiusScrollBars, Widget runBuilder(Color? enterBlockColor)?, Color? scrollBarsColor, double? scrollBarsWeight, required List<CreationSection> sections, Widget stopBuilder()?, Widget trashBuilder(bool onBlockEnter)?})
-
Methods
-
addConfigurationBlockModel({required ConfigurationBlockModel configurationBlockModel})
→ void
-
-
buildBlockByModel(BuildContext context, {required ProgrammingBlockModel blockModel, required bool fromCreationSection})
→ Widget
-
-
colorByBlockModel({required ProgrammingBlockModel blockModel})
→ Color
-
-
configurationBlockModelByUuid({required String uuid})
→ ConfigurationBlockModel?
-
-
configurationBlockModelsByType({required String typeName})
→ List<ConfigurationBlockModel>
-
-
createElement()
→ InheritedElement
-
Inflates this configuration to a concrete instance.
inherited
-
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
-
executeBlock({required ProgrammingBlockModel blockModel})
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
paySound(String assetName)
→ void
-
-
readBlock({required ProgrammingBlockModel blockModel})
→ Future
-
-
removeBlock(BuildContext context, {required ProgrammingBlockModel? blockModel, bool waitRedraw = false})
→ void
-
-
removeConfigurationBlockModel({required ConfigurationBlockModel configurationBlockModel})
→ void
-
-
removeFunction({required String functionUuid})
→ void
-
-
restoreRunBackUp()
→ void
-
-
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
-
typeByBlockModel({required ProgrammingBlockModel? blockModel})
→ BlockType?
-
-
typeByName({required String? name})
→ BlockType?
-
-
updateConfigurationBlockModel({required ConfigurationBlockModel configurationBlockModel})
→ void
-
-
updateFunctionInfo({required String functionUuid, required ProgrammingBlocksDependencyCanvasModel canvasModel})
→ void
-
-
updateShouldNotify(covariant ProgrammingBlocksDependency oldWidget)
→ bool
-
Whether the framework should notify widgets that inherit from this widget.
override