Skip to content

Instantly share code, notes, and snippets.

@SametSahin10
Created September 10, 2020 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SametSahin10/ebd0850871fa7a131e5a0f93dcec14eb to your computer and use it in GitHub Desktop.
Save SametSahin10/ebd0850871fa7a131e5a0f93dcec14eb to your computer and use it in GitHub Desktop.
class MyHomePage extends StatelessWidget {
final personNextToMe =
"That reminds me about the time when I was ten and our neighbour, her name was Mrs. Mable, and she said...";
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(Icons.airline_seat_legroom_reduced),
Expanded(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Text(personNextToMe),
),
),
Icon(Icons.airline_seat_legroom_reduced)
],
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment