Frame constructor

Frame({
  1. required String id,
  2. String? name,
  3. required bool visible,
  4. dynamic pluginData,
  5. dynamic sharedPluginData,
  6. List<Node?>? children,
  7. required bool locked,
  8. List<Paint>? fills,
  9. List<Paint>? strokes,
  10. num? strokeWeight,
  11. StrokeWeights? individualStrokeWeights,
  12. StrokeAlign? strokeAlign,
  13. double? cornerRadius,
  14. List<num>? rectangleCornerRadii,
  15. List<ExportSetting>? exportSettings,
  16. BlendMode? blendMode,
  17. bool? preserveRatio,
  18. double? layoutGrow,
  19. LayoutConstraint? constraints,
  20. LayoutAlign? layoutAlign,
  21. String? transitionNodeID,
  22. double? transitionDuration,
  23. EasingType? transitionEasing,
  24. double? opacity,
  25. SizeRectangle? absoluteBoundingBox,
  26. Vector2D? size,
  27. List<List<num>>? relativeTransform,
  28. bool? clipsContent,
  29. LayoutMode? layoutMode,
  30. PrimaryAxisAlignItems? primaryAxisAlignItems,
  31. CounterAxisAlignItems? counterAxisAlignItems,
  32. PrimaryAxisSizingMode? primaryAxisSizingMode,
  33. CounterAxisSizingMode? counterAxisSizingMode,
  34. double? paddingBottom,
  35. double? paddingLeft,
  36. double? paddingRight,
  37. double? paddingTop,
  38. num? horizontalPadding,
  39. num? verticalPadding,
  40. num? itemSpacing,
  41. List<LayoutGrid>? layoutGrids,
  42. OverflowDirection? overflowDirection,
  43. List<Effect>? effects,
  44. bool? isMask,
  45. bool? isMaskOutline,
  46. Map<StyleTypeKey, String>? styles,
})

Implementation

Frame({
  required String id,
  String? name,
  required bool visible,
  dynamic pluginData,
  dynamic sharedPluginData,
  this.children,
  required this.locked,
  this.fills,
  this.strokes,
  this.strokeWeight,
  this.individualStrokeWeights,
  this.strokeAlign,
  this.cornerRadius,
  this.rectangleCornerRadii,
  this.exportSettings,
  this.blendMode,
  this.preserveRatio,
  this.layoutGrow,
  this.constraints,
  this.layoutAlign,
  this.transitionNodeID,
  this.transitionDuration,
  this.transitionEasing,
  this.opacity,
  this.absoluteBoundingBox,
  this.size,
  this.relativeTransform,
  this.clipsContent,
  this.layoutMode,
  this.primaryAxisAlignItems,
  this.counterAxisAlignItems,
  this.primaryAxisSizingMode,
  this.counterAxisSizingMode,
  this.paddingBottom,
  this.paddingLeft,
  this.paddingRight,
  this.paddingTop,
  this.horizontalPadding,
  this.verticalPadding,
  this.itemSpacing,
  this.layoutGrids,
  this.overflowDirection,
  this.effects,
  this.isMask,
  this.isMaskOutline,
  this.styles,
}) : super(
        id: id,
        name: name,
        visible: visible,
        pluginData: pluginData,
        sharedPluginData: sharedPluginData,
      );