buildAlign method Null safety

Widget? buildAlign(
  1. BuildMetadata meta,
  2. Widget child,
  3. AlignmentGeometry alignment,
  4. {double? heightFactor,
  5. double? widthFactor}
)

Builds Align.

Implementation

Widget? buildAlign(
  BuildMetadata meta,
  Widget child,
  AlignmentGeometry alignment, {
  double? heightFactor,
  double? widthFactor,
}) =>
    Align(
      alignment: alignment,
      heightFactor: heightFactor,
      widthFactor: widthFactor,
      child: child,
    );