Align constructor

Align({
  1. Alignment alignment = Alignment.center,
  2. double? widthFactor,
  3. double? heightFactor,
  4. Widget? child,
})

Implementation

Align(
    {this.alignment = Alignment.center,
    this.widthFactor,
    this.heightFactor,
    Widget? child})
    : assert(widthFactor == null || widthFactor >= 0.0),
      assert(heightFactor == null || heightFactor >= 0.0),
      super(child: child);