mirror of
https://github.com/TrentSPalmer/concise-pdx.git
synced 2024-11-23 13:21:29 -08:00
add columbiagorge.dart gorgecamping.dart
This commit is contained in:
parent
3e13dd3e2c
commit
ae6f4728ac
@ -4,6 +4,7 @@ import 'prebuildcards.dart';
|
||||
import 'card_templates.dart';
|
||||
import 'washingtonpark.dart';
|
||||
import 'mounthood.dart';
|
||||
import 'columbiagorge.dart';
|
||||
|
||||
class Attractions extends StatefulWidget {
|
||||
@override
|
||||
@ -27,8 +28,6 @@ class _AttractionsState extends State<Attractions> {
|
||||
padding: EdgeInsets.only(bottom: 6.0,),
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
columbiaGorge(),
|
||||
multnomahFalls(),
|
||||
mountSaintHelens(),
|
||||
oregonCoast(),
|
||||
InkWell(
|
||||
@ -37,6 +36,12 @@ class _AttractionsState extends State<Attractions> {
|
||||
},
|
||||
child: cardOne('Camp, Hike, or Sight-See on Mt Hood.'),
|
||||
),
|
||||
InkWell(
|
||||
onTap: () async {
|
||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => ColumbiaGorge()));
|
||||
},
|
||||
child: cardOne('Camp, Hike, Cruise, or Sight-See in the Columbia River Gorge.'),
|
||||
),
|
||||
InkWell(
|
||||
onTap: () async {
|
||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WashingtonPark()));
|
||||
|
60
web/columbiagorge.dart
Normal file
60
web/columbiagorge.dart
Normal file
@ -0,0 +1,60 @@
|
||||
import 'package:flutter_web/material.dart';
|
||||
import 'defaults.dart';
|
||||
import 'prebuildcards.dart';
|
||||
import 'card_templates.dart';
|
||||
import 'gorgecamping.dart';
|
||||
|
||||
class ColumbiaGorge extends StatefulWidget {
|
||||
@override
|
||||
_ColumbiaGorgeState createState() => _ColumbiaGorgeState();
|
||||
}
|
||||
|
||||
class _ColumbiaGorgeState extends State<ColumbiaGorge> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('ColumbiaGorge'),
|
||||
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>[
|
||||
convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Historic_Columbia_River_Highway',
|
||||
'historic-highway',
|
||||
'Drive the Scenic Historic Columbia River Highway',
|
||||
'https://www.google.com/maps/@45.5483301,-122.1818084,14z',
|
||||
'historic-highway-map'
|
||||
),
|
||||
multnomahFalls(),
|
||||
dogMountain(),
|
||||
angelsRest(),
|
||||
infoCard('More Hikes in the Columbia River Gorge.','https://www.oregonhikers.org/field_guide/Columbia_River_Gorge_Hikes','a'),
|
||||
infoCard('Wind Surf in the Columbia River Gorge.','https://www.travelportland.com/article/windsurfing-columbia-river-gorge/','b'),
|
||||
infoCard('Stern-Wheeler Cruises in the Columbia River Gorge.','https://en.wikipedia.org/wiki/Tourist_sternwheelers_of_Oregon','c'),
|
||||
InkWell(
|
||||
onTap: () async {
|
||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => GorgeCamping()));
|
||||
},
|
||||
child: cardOne('Camping in the Columbia River Gorge.'),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
104
web/gorgecamping.dart
Normal file
104
web/gorgecamping.dart
Normal file
@ -0,0 +1,104 @@
|
||||
import 'package:flutter_web/material.dart';
|
||||
import 'defaults.dart';
|
||||
import 'prebuildcards.dart';
|
||||
import 'card_templates.dart';
|
||||
import 'gorgecamping.dart';
|
||||
|
||||
class GorgeCamping extends StatefulWidget {
|
||||
@override
|
||||
_GorgeCampingState createState() => _GorgeCampingState();
|
||||
}
|
||||
|
||||
class _GorgeCampingState extends State<GorgeCamping> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('gorge-camping'),
|
||||
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>[
|
||||
convenienceCardOne(
|
||||
'https://oregonstateparks.org/index.cfm?do=parkPage.dsp_parkPage&parkId=105',
|
||||
'ainsworth',
|
||||
'Camp at Ainsworth State Park Oregon',
|
||||
'https://www.google.com/maps/@45.597435,-122.0518624,17z',
|
||||
'ainsworth-map'
|
||||
),
|
||||
convenienceCardOne(
|
||||
'https://oregonstateparks.org/index.cfm?do=parkPage.dsp_parkPage&parkId=123',
|
||||
'viento',
|
||||
'Camp at Viento State Park Oregon',
|
||||
'https://www.google.com/maps/@45.6974966,-121.6672281,17z',
|
||||
'viento-map'
|
||||
),
|
||||
convenienceCardOne(
|
||||
'https://oregonstateparks.org/index.cfm?do=parkPage.dsp_parkPage&parkId=118',
|
||||
'memaloose',
|
||||
'Camp at Memaloose State Park Oregon',
|
||||
'https://www.google.com/maps/@45.6967538,-121.3429743,17z',
|
||||
'memaloose-map'
|
||||
),
|
||||
convenienceCardOne(
|
||||
'https://oregonstateparks.org/index.cfm?do=parkPage.dsp_parkPage&parkId=29',
|
||||
'deschutes',
|
||||
'Camp at Deschutes River State Park Oregon',
|
||||
'https://www.google.com/maps/@45.6319205,-120.9064152,17z',
|
||||
'deschutes-map'
|
||||
),
|
||||
convenienceCardOne(
|
||||
'https://www.fs.usda.gov/recarea/crgnsa/recreation/camping-cabins/recarea/?recid=29906&actid=29',
|
||||
'eagle-creek',
|
||||
'Camp at Eagle Creek Federal Campground Oregon',
|
||||
'https://www.google.com/maps/@45.642244,-121.925284,17z',
|
||||
'eagle-creek-map'
|
||||
),
|
||||
convenienceCardOne(
|
||||
'https://www.fs.usda.gov/recarea/crgnsa/recreation/camping-cabins/recarea/?recid=30008&actid=29',
|
||||
'wyeth',
|
||||
'Camp at Wyeth Federal Campground Oregon',
|
||||
'https://www.google.com/maps/@45.690305,-121.772188,17z',
|
||||
'wyeth-map'
|
||||
),
|
||||
convenienceCardOne(
|
||||
'https://parks.state.wa.us/474/Beacon-Rock',
|
||||
'beacon-rock',
|
||||
'Camp at Beacon Rock State Park Washington',
|
||||
'https://www.google.com/maps/@45.6287669,-122.0291639,15z',
|
||||
'beacon-rock-map'
|
||||
),
|
||||
convenienceCardOne(
|
||||
'https://parks.state.wa.us/489/Columbia-Hills',
|
||||
'columbia-hills',
|
||||
'Camp at Columbia Hills State Park Washington',
|
||||
'https://www.google.com/maps/@45.643124,-121.1039948,15z',
|
||||
'columbia-hills-map'
|
||||
),
|
||||
convenienceCardOne(
|
||||
'https://parks.state.wa.us/543/Maryhill',
|
||||
'mary-hill',
|
||||
'Camp at Mary Hill State Park Washington',
|
||||
'https://www.google.com/maps/@45.6819927,-120.8316575,15z',
|
||||
'mary-hill-map'
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
@ -221,16 +221,6 @@ Card macleayParkPittockMansion() {
|
||||
);
|
||||
}
|
||||
|
||||
Card columbiaGorge() {
|
||||
return convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Columbia_River_Gorge',
|
||||
'columbia-river-gorge',
|
||||
'Hike, SightSee, Cruise, or WindSurf the Columbia River Gorge',
|
||||
'https://www.google.com/maps/@45.704722,-121.791667,11z',
|
||||
'columbia-river-gorge-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card mountSaintHelens() {
|
||||
return convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Mount_St._Helens',
|
||||
|
Loading…
Reference in New Issue
Block a user