-
-
Save MarcinusX/f799b5d2b7b4d9b9d9b69bb6c192067e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyCenteredText extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Center( | |
child: Padding( | |
padding: EdgeInsets.all(16), | |
child: Text('Hello Flutter! <3'), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment