Align class

Undocumented public member.

Inheritance
Implementers

Constructors

Align({Alignment alignment = .center, double? widthFactor, double? heightFactor, required Widget child})
Creates an alignment widget.
const

Properties

alignment → Alignment
How to align the child.
final
child → Widget
The child widget.
final
hashCode → int
The hash code for this object.
no setterinherited
heightFactor → double?
If non-null, sets its height to the child's height multiplied by this factor.
final
key → Key?
The optional key for this widget.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
widthFactor → double?
If non-null, sets its width to the child's width multiplied by this factor.
final

Methods

createElement() → Element
Creates an Element to manage this widget's location in the tree.
override
getIntrinsicHeight(int width) → int
Computes the intrinsic height of this widget under the given width constraint.
override
getIntrinsicWidth(int height) → int
Computes the intrinsic width of this widget under the given height constraint.
override
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