centered property

Widget get centered

Wraps the widget in a Center.

Implementation

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