mirror of
https://github.com/TrentSPalmer/concise-pdx.git
synced 2024-11-21 12:41:30 -08:00
add mounthood.dart
This commit is contained in:
parent
278e4658dc
commit
3e13dd3e2c
@ -3,6 +3,7 @@ import 'defaults.dart';
|
||||
import 'prebuildcards.dart';
|
||||
import 'card_templates.dart';
|
||||
import 'washingtonpark.dart';
|
||||
import 'mounthood.dart';
|
||||
|
||||
class Attractions extends StatefulWidget {
|
||||
@override
|
||||
@ -28,9 +29,14 @@ class _AttractionsState extends State<Attractions> {
|
||||
children: <Widget>[
|
||||
columbiaGorge(),
|
||||
multnomahFalls(),
|
||||
mountHood(),
|
||||
mountSaintHelens(),
|
||||
oregonCoast(),
|
||||
InkWell(
|
||||
onTap: () async {
|
||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => MountHood()));
|
||||
},
|
||||
child: cardOne('Camp, Hike, or Sight-See on Mt Hood.'),
|
||||
),
|
||||
InkWell(
|
||||
onTap: () async {
|
||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WashingtonPark()));
|
||||
|
49
web/mounthood.dart
Normal file
49
web/mounthood.dart
Normal file
@ -0,0 +1,49 @@
|
||||
import 'package:flutter_web/material.dart';
|
||||
import 'defaults.dart';
|
||||
import 'prebuildcards.dart';
|
||||
import 'card_templates.dart';
|
||||
|
||||
class MountHood extends StatefulWidget {
|
||||
@override
|
||||
_MountHoodState createState() => _MountHoodState();
|
||||
}
|
||||
|
||||
class _MountHoodState extends State<MountHood> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('MountHood'),
|
||||
centerTitle: true,
|
||||
backgroundColor: navy,
|
||||
actions: <Widget>[
|
||||
IconButton(
|
||||
icon: Icon(Icons.home),
|
||||
onPressed: () {
|
||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
backgroundColor: peacockBlue,
|
||||
body: SingleChildScrollView(
|
||||
child: Container(
|
||||
padding: EdgeInsets.only(bottom: 6.0,),
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
timberlineLodge(),
|
||||
paradisePark(),
|
||||
elkMeadows(),
|
||||
cairnBasin(),
|
||||
timothyLake(),
|
||||
trilliumLake(),
|
||||
lostLake(),
|
||||
infoCard('More Hikes on Mt Hood','https://www.oregonhikers.org/field_guide/Mount_Hood_Hikes','a'),
|
||||
infoCard('More Camping on Mt Hood','https://www.fs.usda.gov/activity/mthood/recreation/camping-cabins','b'),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
@ -181,16 +181,6 @@ Card chineseGarden() {
|
||||
);
|
||||
}
|
||||
|
||||
Card paradisePark() {
|
||||
return convenienceCardOne(
|
||||
'https://www.oregonhikers.org/field_guide/Paradise_Park_from_Timberline_Lodge_Hike',
|
||||
'paradise-park',
|
||||
'Hike to Paradise Park on Mt Hood, from Timberline Lodge in Summer.',
|
||||
'https://www.google.com/maps/@45.3561013,-121.7472,17z',
|
||||
'paradise-park-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card eagleCreek() {
|
||||
return convenienceCardOne(
|
||||
'https://www.oregonhikers.org/field_guide/Eagle_Creek_to_Tunnel_Falls_Hike',
|
||||
@ -241,16 +231,6 @@ Card columbiaGorge() {
|
||||
);
|
||||
}
|
||||
|
||||
Card mountHood() {
|
||||
return convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Mount_Hood',
|
||||
'mount-hood',
|
||||
'Visit Mt Hood',
|
||||
'https://www.google.com/maps/@45.373514,-121.695919,12z',
|
||||
'mount-hood-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card mountSaintHelens() {
|
||||
return convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Mount_St._Helens',
|
||||
@ -340,3 +320,73 @@ Card pittockMansion() {
|
||||
'pittock-mansion-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card timberlineLodge() {
|
||||
return convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Timberline_Lodge',
|
||||
'timberline-lodge',
|
||||
'Tour, Dine, or Stay at Historic Timberline Lodge',
|
||||
'https://www.google.com/maps/@45.331111,-121.71,18z',
|
||||
'timberline-lodge-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card paradisePark() {
|
||||
return convenienceCardOne(
|
||||
'https://www.oregonhikers.org/field_guide/Paradise_Park_from_Timberline_Lodge_Hike',
|
||||
'paradise-park',
|
||||
'Hike to Paradise Park on Mt Hood, from Timberline Lodge in Summer.',
|
||||
'https://www.google.com/maps/@45.3561013,-121.7472,17z',
|
||||
'paradise-park-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card elkMeadows() {
|
||||
return convenienceCardOne(
|
||||
'https://www.oregonhikers.org/field_guide/Elk_Meadows_Hike',
|
||||
'elk-meadows',
|
||||
'Hike to Elk Meadows on Mt Hood.',
|
||||
'https://www.google.com/maps/@45.34417,-121.61611,17z',
|
||||
'elk-meadows-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card cairnBasin() {
|
||||
return convenienceCardOne(
|
||||
'https://www.oregonhikers.org/field_guide/Cairn_Basin_from_Vista_Ridge_Hike',
|
||||
'cairn-basin',
|
||||
'Hike to Cairn Basin on Mt Hood.',
|
||||
'https://www.google.com/maps/@45.40397,-121.72371,17z',
|
||||
'cairn-basin-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card timothyLake() {
|
||||
return convenienceCardOne(
|
||||
'https://www.portlandgeneral.com/corporate-responsibility/environmental-stewardship/water-quality-habitat-protection/parks-campgrounds/timothy-lake',
|
||||
'timothy-lake',
|
||||
'Camp at Timothy Lake on Mt Hood.',
|
||||
'https://www.google.com/maps/@45.121022,-121.785654,14z',
|
||||
'timothy-lake-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card trilliumLake() {
|
||||
return convenienceCardOne(
|
||||
'https://www.fs.usda.gov/recarea/mthood/recarea/?recid=53634',
|
||||
'trillium-lake',
|
||||
'Camp at Trillium Lake on Mt Hood.',
|
||||
'https://www.google.com/maps/@45.2714348,-121.7366999,16z',
|
||||
'trillium-lake-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card lostLake() {
|
||||
return convenienceCardOne(
|
||||
'https://www.fs.usda.gov/recarea/mthood/recarea/?recid=53228',
|
||||
'lost-lake',
|
||||
'Camp at Lost Lake on Mt Hood.',
|
||||
'https://www.google.com/maps/@45.48889,-121.82194,15z',
|
||||
'lost-lake-map'
|
||||
);
|
||||
}
|
||||
|
@ -25,7 +25,10 @@ class _WashingtonParkState extends State<WashingtonPark> {
|
||||
],
|
||||
),
|
||||
backgroundColor: peacockBlue,
|
||||
body: Column(
|
||||
body: SingleChildScrollView(
|
||||
child: Container(
|
||||
padding: EdgeInsets.only(bottom: 6.0,),
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
oregonZoo(),
|
||||
japaneseGarden(),
|
||||
@ -34,6 +37,8 @@ class _WashingtonParkState extends State<WashingtonPark> {
|
||||
pittockMansion(),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user