FigmaDocument class

Available extensions
Annotations
  • @JsonSerializable.new()
  • @CopyWith.new()

Constructors

FigmaDocument({String? id, String? name, FigmaDocument? parent, String? type, String? scrollBehavior, List<FigmaDocument>? children, Color? backgroundColor, dynamic prototypeStartNodeID, List? flowStartingPoints, PrototypeDevice? prototypeDevice, List<ExportSettings>? exportSettings, String? blendMode, AbsoluteBoundingBox? absoluteBoundingBox, AbsoluteBoundingBox? absoluteRenderBounds, Constraints? constraints, List<Fills>? fills, List? strokes, double? strokeWeight, String? strokeAlign, List? effects, String? characters, Style? style, List? characterStyleOverrides, Map<String, StyleOverrideTable>? styleOverrideTable, List<String>? lineTypes, List<int>? lineIndentations, bool? clipsContent, List<Background>? background, String? strokeJoin, dynamic strokeMiterAngle})
FigmaDocument.fromJson(Map<String, dynamic> json)
factory

Properties

absoluteBoundingBox AbsoluteBoundingBox?
final
absoluteRenderBounds AbsoluteBoundingBox?
final
allText List<String>

Available on FigmaDocument?, provided by the FigmaDocumentX extension

no setter
background List<Background>?
final
backgroundColor Color?
final
blendMode String?
final
characters String?
final
characterStyleOverrides List?
final
children List<FigmaDocument>?
final
clipsContent bool?
final
constraints Constraints?
final
copyWith → _$FigmaDocumentCWProxy

Available on FigmaDocument, provided by the $FigmaDocumentCopyWith extension

Returns a callable class that can be used as follows: instanceOfFigmaDocument.copyWith(...) or like so:instanceOfFigmaDocument.copyWith.fieldName(...).
no setter
documents List<FigmaDocument>

Available on FigmaDocument?, provided by the FigmaDocumentX extension

no setter
effects List?
final
exportSettings List<ExportSettings>?
final
fills List<Fills>?
final
flowStartingPoints List?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
lineIndentations List<int>?
final
lineTypes List<String>?
final
name String?
final
parent FigmaDocument?
final
prototypeDevice PrototypeDevice?
final
prototypeStartNodeID → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollBehavior String?
final
strokeAlign String?
final
strokeJoin String?
final
strokeMiterAngle → dynamic
final
strokes List?
final
strokeWeight double?
final
style Style?
final
styleOverrideTable Map<String, StyleOverrideTable>?
final
type String?
final

Methods

documentsForImage([FigmaDocument? parent]) List<FigmaDocument>

Available on FigmaDocument?, provided by the FigmaDocumentX extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited