right method

Widget right()

Aligns this widget to the right.

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

Implementation

Widget right() => Align(alignment: Alignment.centerRight, child: this);