CenteredWidget extension
Extension on Widget to provide a convenience method for centering widgets.
This extension allows any widget to be easily wrapped in a Center widget, making it simple to align elements centrally in a layout.
Example usage:
Text('Hello').center();
Parameters:
- on