Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created October 2, 2019 19:16
Show Gist options
  • Save MarcinusX/f799b5d2b7b4d9b9d9b69bb6c192067e to your computer and use it in GitHub Desktop.
Save MarcinusX/f799b5d2b7b4d9b9d9b69bb6c192067e to your computer and use it in GitHub Desktop.
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