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,17 +25,22 @@ class _LakeOswegoStreetsState extends State<LakeOswegoStreets> {
],
),
backgroundColor: peacockBlue,
body: Column(
children: <Widget>[
convenienceCardOne(
'https://en.wikipedia.org/wiki/Willamette_Shore_Trolley',
'willamette-trolley',
'This area of town is convenient for an excursion on the Willamette Shore Trolley',
'https://www.google.com/maps/@45.4180967,-122.6629502,20z',
'willamette-trolley-map'
body: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
convenienceCardOne(
'https://en.wikipedia.org/wiki/Willamette_Shore_Trolley',
'willamette-trolley',
'This area of town is convenient for an excursion on the Willamette Shore Trolley',
'https://www.google.com/maps/@45.4180967,-122.6629502,20z',
'willamette-trolley-map'
),
cardTwo('Downtown Lake Oswego','https://www.google.com/maps/@45.4167125,-122.6660073,16z','lake-oswego'),
],
),
cardTwo('Downtown Lake Oswego','https://www.google.com/maps/@45.4167125,-122.6660073,16z','lake-oswego'),
],
),
),
);
}

View File

@ -25,17 +25,22 @@ class _StJohnsStreetsState extends State<StJohnsStreets> {
],
),
backgroundColor: peacockBlue,
body: Column(
children: <Widget>[
convenienceCardOne(
'https://en.wikipedia.org/wiki/Cathedral_Park_(Portland,_Oregon)',
'Cathedral Park',
'This area of town is convenient for a visit to Cathedral Park under the St John\'s Bridge',
'https://www.google.com/maps/@45.5883,-122.75799,17z',
'cathedral-park'
body: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
convenienceCardOne(
'https://en.wikipedia.org/wiki/Cathedral_Park_(Portland,_Oregon)',
'Cathedral Park',
'This area of town is convenient for a visit to Cathedral Park under the St John\'s Bridge',
'https://www.google.com/maps/@45.5883,-122.75799,17z',
'cathedral-park'
),
cardTwo('N Lombard, Richmond to St Louis','https://www.google.com/maps/@45.5902882,-122.7536259,17z','lombard-ivanhoe'),
],
),
cardTwo('N Lombard, Richmond to St Louis','https://www.google.com/maps/@45.5902882,-122.7536259,17z','lombard-ivanhoe'),
],
),
),
);
}