Frame constructor
Frame({
- required String id,
- String? name,
- required bool visible,
- dynamic pluginData,
- List<
Node?> ? children, - required bool locked,
- List<
Paint> ? fills, - List<
Paint> ? strokes, - num? strokeWeight,
- StrokeWeights? individualStrokeWeights,
- StrokeAlign? strokeAlign,
- double? cornerRadius,
- List<
num> ? rectangleCornerRadii, - List<
ExportSetting> ? exportSettings, - BlendMode? blendMode,
- bool? preserveRatio,
- double? layoutGrow,
- LayoutConstraint? constraints,
- LayoutAlign? layoutAlign,
- String? transitionNodeID,
- double? transitionDuration,
- EasingType? transitionEasing,
- double? opacity,
- SizeRectangle? absoluteBoundingBox,
- Vector2D? size,
- List<
List< ? relativeTransform,num> > - bool? clipsContent,
- LayoutMode? layoutMode,
- PrimaryAxisAlignItems? primaryAxisAlignItems,
- CounterAxisAlignItems? counterAxisAlignItems,
- PrimaryAxisSizingMode? primaryAxisSizingMode,
- CounterAxisSizingMode? counterAxisSizingMode,
- double? paddingBottom,
- double? paddingLeft,
- double? paddingRight,
- double? paddingTop,
- num? horizontalPadding,
- num? verticalPadding,
- num? itemSpacing,
- List<
LayoutGrid> ? layoutGrids, - OverflowDirection? overflowDirection,
- List<
Effect> ? effects, - bool? isMask,
- bool? isMaskOutline,
- 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,
);