From 278e4658dc2f875f97f3984c6c61fcb2cf7cbc92 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Tue, 3 Sep 2019 11:55:49 -0700 Subject: [PATCH] add singleChildScrollView --- web/lakeoswego.dart | 25 +++++++++++++++---------- web/stjohnsstreets.dart | 25 +++++++++++++++---------- 2 files changed, 30 insertions(+), 20 deletions(-) diff --git a/web/lakeoswego.dart b/web/lakeoswego.dart index 47cfd9f..3e95486 100644 --- a/web/lakeoswego.dart +++ b/web/lakeoswego.dart @@ -25,17 +25,22 @@ class _LakeOswegoStreetsState extends State { ], ), backgroundColor: peacockBlue, - body: Column( - children: [ - 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: [ + 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'), - ], + ), ), ); } diff --git a/web/stjohnsstreets.dart b/web/stjohnsstreets.dart index d4a1b9a..d39e498 100644 --- a/web/stjohnsstreets.dart +++ b/web/stjohnsstreets.dart @@ -25,17 +25,22 @@ class _StJohnsStreetsState extends State { ], ), backgroundColor: peacockBlue, - body: Column( - children: [ - 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: [ + 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'), - ], + ), ), ); }