Last active
January 9, 2021 08:18
-
-
Save asavchuk/b5bd196d72f6722114c0168e96c76101 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Widget buildSelectedDetails(BuildContext context, Trip trip) { | |
return Hero( | |
tag: "SelectedTrip-${trip.title}", | |
transitionOnUserGestures: true, | |
child: Container( | |
child: Padding( | |
padding: const EdgeInsets.only( | |
left: 8.0, | |
right: 8.0, | |
), | |
child: SingleChildScrollView( | |
child: Card( | |
child: Row( | |
children: <Widget>[ | |
Expanded( | |
child: Padding( | |
padding: const EdgeInsets.only( | |
top: 16.0, left: 16.0, bottom: 16.0), | |
child: Column( | |
children: <Widget>[ | |
Row( | |
children: <Widget>[ | |
Text(trip.title, style: TextStyle(fontSize: 30.0)), | |
], | |
), | |
Row( | |
children: <Widget>[ | |
Text("Average Budget -- Not set up yet®"), | |
], | |
), | |
Row( | |
children: <Widget>[ | |
Text("Trip Dates"), | |
], | |
), | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment