left method

Widget left()

Aligns this widget to the left.

This is equivalent to wrapping this widget with an Align widget with Alignment.centerLeft.

Implementation

Widget left() => Align(alignment: Alignment.centerLeft, child: this);