IrFrame constructor
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,
Implementation
IrFrame({
required super.name,
super.width = const IrSizing.hug(),
super.height = const IrSizing.hug(),
super.origin,
super.source,
super.position,
super.instance,
this.direction = IrLayoutDirection.vertical,
this.gap = 0,
this.wrap = false,
this.runGap = 0,
this.padding = IrInsets.zero,
this.mainAlign = IrMainAlign.start,
this.crossAlign = IrCrossAlign.start,
this.fill,
this.gradient,
this.image,
this.corners = IrCorners.zero,
this.stroke,
this.shadows = const [],
this.shadowToken,
this.clip = false,
this.minWidth,
this.minHeight,
this.role,
List<IrNode>? children,
}) : children = children ?? [];