menu
- ignis
- ignis.dart
- StandardLayoutEngine class
StandardLayoutEngine
StandardLayoutEngine class
final
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
box({required Iterable<LayoutItem> items, required LayoutConstraints constraints, required double? targetWidth, required double? targetHeight, required EdgeInsets padding, required Anchor? alignment})
→ Vector2
-
Sizes a region to
targetWidth/targetHeight - or to its largest item
plus padding where either is null - then places every item inside it
at alignment.
override
-
flex({required Axis direction, required LayoutConstraints constraints, required Iterable<LayoutItem> items, required MainAxisAlignment mainAxisAlignment, required CrossAxisAlignment crossAxisAlignment, required MainAxisSize mainAxisSize, required double spacing})
→ Vector2
-
Measures non-flex items, distributes remaining main-axis space to flex
items, then positions everyone in exactly three passes.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
place(LayoutItem item, Vector2 position)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited