FigmaDecorationAdapter class

An adapter that provides decoration capabilities for Figma nodes. This adapter centralizes all decorative properties that are common across different types of Figma nodes.

Mixed-in types

Constructors

FigmaDecorationAdapter(Node node)

Properties

hashCode int
The hash code for this object.
no setterinherited
node → Node
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportsDecoration bool
Whether the node supports decoration capabilities
no setter

Methods

clearCache() → void
inherited
createBoxDecoration() BoxDecoration
Creates a BoxDecoration from the node's properties
getCached<T>(String key, T compute()) → T
inherited
getCacheId() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateDecoration() → void
Validates that the node supports decoration capabilities
wrapWithBlurEffects(Widget child) Widget
Creates a widget wrapped with appropriate blur effects

Operators

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