IrFrame class

Inheritance

Constructors

IrFrame({required String name, IrSizing width = const IrSizing.hug(), IrSizing height = const IrSizing.hug(), List<String> origin = const [], String? source, IrPosition? position, IrInstanceRef? instance, IrLayoutDirection direction = IrLayoutDirection.vertical, double gap = 0, bool wrap = false, double runGap = 0, IrInsets padding = IrInsets.zero, IrMainAlign mainAlign = IrMainAlign.start, IrCrossAlign crossAlign = IrCrossAlign.start, IrColor? fill, IrGradient? gradient, IrImagePaint? image, IrCorners corners = IrCorners.zero, IrStroke? stroke, List<IrShadow> shadows = const [], String? shadowToken, bool clip = false, double? minWidth, double? minHeight, String? role, List<IrNode>? children})

Properties

backgroundBlur ↔ double?
Blurs what is behind the frame (a BackdropFilter), Figma's background blur radius.
getter/setter pair
children ↔ List<IrNode>
getter/setter pair
clip ↔ bool
getter/setter pair
corners ↔ IrCorners
getter/setter pair
crossAlign ↔ IrCrossAlign
getter/setter pair
direction ↔ IrLayoutDirection
getter/setter pair
fill ↔ IrColor?
getter/setter pair
gap ↔ double
getter/setter pair
gradient ↔ IrGradient?
Painted over fill.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
height ↔ IrSizing
getter/setter pairinherited
image ↔ IrImagePaint?
Painted over fill and gradient.
getter/setter pair
instance ↔ IrInstanceRef?
Set when this subtree is an occurrence of a component. The subtree is still complete, so renderers without components can ignore it.
getter/setter pairinherited
isBare → bool
True when the frame paints nothing itself and is purely structural.
no setter
mainAlign ↔ IrMainAlign
getter/setter pair
minHeight ↔ double?
getter/setter pair
minWidth ↔ double?
getter/setter pair
name ↔ String
getter/setter pairinherited
origin ↔ List<String>
The Flutter widgets (outermost first) that were folded into this node.
getter/setter pairinherited
padding ↔ IrInsets
getter/setter pair
position ↔ IrPosition?
Only meaningful when the parent is a stack frame.
getter/setter pairinherited
role ↔ String?
Semantic hint for renderers: screen, app-bar, button, card, ...
getter/setter pair
rotation ↔ double
Degrees, clockwise, around the node's top-left corner (which position places). Only meaningful when the parent is a stack frame.
getter/setter pairinherited
runGap ↔ double
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadows ↔ List<IrShadow>
getter/setter pair
shadowToken ↔ String?
Effect style shadows came from, e.g. Elevation/level1.
getter/setter pair
source ↔ String?
path:line of the widget that produced this node.
getter/setter pairinherited
stroke ↔ IrStroke?
getter/setter pair
type → String
no setteroverride
width ↔ IrSizing
getter/setter pairinherited
wrap ↔ bool
Horizontal frames only: children flow onto new rows (Flutter's Wrap), runGap apart.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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