Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created Oct 2, 2019
Embed
What would you like to do?
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