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 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