add singleChildScrollView

This commit is contained in:
Trent Palmer 2019-09-03 11:55:49 -07:00
parent 5a3e13678c
commit 278e4658dc
2 changed files with 30 additions and 20 deletions

View File

@ -25,7 +25,10 @@ class _LakeOswegoStreetsState extends State<LakeOswegoStreets> {
],
),
backgroundColor: peacockBlue,
body: Column(
body: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
convenienceCardOne(
'https://en.wikipedia.org/wiki/Willamette_Shore_Trolley',
@ -37,6 +40,8 @@ class _LakeOswegoStreetsState extends State<LakeOswegoStreets> {
cardTwo('Downtown Lake Oswego','https://www.google.com/maps/@45.4167125,-122.6660073,16z','lake-oswego'),
],
),
),
),
);
}
}

View File

@ -25,7 +25,10 @@ class _StJohnsStreetsState extends State<StJohnsStreets> {
],
),
backgroundColor: peacockBlue,
body: Column(
body: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
convenienceCardOne(
'https://en.wikipedia.org/wiki/Cathedral_Park_(Portland,_Oregon)',
@ -37,6 +40,8 @@ class _StJohnsStreetsState extends State<StJohnsStreets> {
cardTwo('N Lombard, Richmond to St Louis','https://www.google.com/maps/@45.5902882,-122.7536259,17z','lombard-ivanhoe'),
],
),
),
),
);
}
}