blockTypesMap top-level constant
Implementation
const Map<String, int> blockTypesMap = {
'unknown': BlockTypes.unknown,
'nodes': BlockTypes.components,
'node': BlockTypes.actorNode,
'bone': BlockTypes.actorBone,
'rootBone': BlockTypes.actorRootBone,
'image': BlockTypes.actorImage,
'view': BlockTypes.view,
'animation': BlockTypes.animation,
'animations': BlockTypes.animations,
'atlases': BlockTypes.atlases,
'atlas': BlockTypes.atlas,
'event': BlockTypes.actorEvent,
'customInt': BlockTypes.customIntProperty,
'customFloat': BlockTypes.customFloatProperty,
'customString': BlockTypes.customStringProperty,
'customBoolean': BlockTypes.customBooleanProperty,
'rectangleCollider': BlockTypes.actorColliderRectangle,
'triangleCollider': BlockTypes.actorColliderTriangle,
'circleCollider': BlockTypes.actorColliderCircle,
'polygonCollider': BlockTypes.actorColliderPolygon,
'lineCollider': BlockTypes.actorColliderLine,
'imageSequence': BlockTypes.actorImageSequence,
'solo': BlockTypes.actorNodeSolo,
'jelly': BlockTypes.jellyComponent,
'jellyBone': BlockTypes.actorJellyBone,
'ikConstraint': BlockTypes.actorIKConstraint,
'distanceConstraint': BlockTypes.actorDistanceConstraint,
'translationConstraint': BlockTypes.actorTranslationConstraint,
'rotationConstraint': BlockTypes.actorRotationConstraint,
'scaleConstraint': BlockTypes.actorScaleConstraint,
'transformConstraint': BlockTypes.actorTransformConstraint,
'shape': BlockTypes.actorShape,
'path': BlockTypes.actorPath,
'colorFill': BlockTypes.colorFill,
'colorStroke': BlockTypes.colorStroke,
'gradientFill': BlockTypes.gradientFill,
'gradientStroke': BlockTypes.gradientStroke,
'radialGradientFill': BlockTypes.radialGradientFill,
'radialGradientStroke': BlockTypes.radialGradientStroke,
'ellipse': BlockTypes.actorEllipse,
'rectangle': BlockTypes.actorRectangle,
'triangle': BlockTypes.actorTriangle,
'star': BlockTypes.actorStar,
'polygon': BlockTypes.actorPolygon,
'artboards': BlockTypes.artboards,
'artboard': BlockTypes.actorArtboard,
'effectRenderer': BlockTypes.actorLayerEffectRenderer,
'mask': BlockTypes.actorMask,
'blur': BlockTypes.actorBlur,
'dropShadow': BlockTypes.actorDropShadow,
'innerShadow': BlockTypes.actorInnerShadow
};