Frame constructor

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

Implementation

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