align method

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

Implementation

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