Centers this widget horizontally and vertically.
Parameters:
key
Key?
Returns: Widget — centered widget.
Widget
Widget center({Key? key}) { return Center( key: key, child: this, ); }