centered property

Widget get centered

Aligns the widget to the center

Implementation

Widget get centered => Center(child: this);