align method

Align align({
  1. Key? key,
  2. Alignment alignment = Alignment.center,
  3. double? widthFactor,
  4. double? heightFactor,
})

Implementation

Align align({
  Key? key,
  Alignment alignment = Alignment.center,
  double? widthFactor,
  double? heightFactor,
}) =>
    Align(
        key: key,
        alignment: alignment,
        widthFactor: widthFactor,
        heightFactor: heightFactor,
        child: this);