mirror of
https://github.com/TrentSPalmer/concise-pdx.git
synced 2024-12-22 07:02:49 -08:00
add oregoncoast.dart
This commit is contained in:
parent
c67b533a6c
commit
157189d0d3
@ -5,6 +5,7 @@ import 'card_templates.dart';
|
||||
import 'washingtonpark.dart';
|
||||
import 'mounthood.dart';
|
||||
import 'columbiagorge.dart';
|
||||
import 'oregoncoast.dart';
|
||||
import 'eastwillamettevalleysights.dart';
|
||||
import 'westwillamettevalleysights.dart';
|
||||
|
||||
@ -31,7 +32,6 @@ class _AttractionsState extends State<Attractions> {
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
mountSaintHelens(),
|
||||
oregonCoast(),
|
||||
InkWell(
|
||||
onTap: () async {
|
||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WestWillametteValleySights()));
|
||||
@ -50,6 +50,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) => OregonCoast()));
|
||||
},
|
||||
child: cardOne('Camp, Hike, or Sight-See on the Oregon Coast.'),
|
||||
),
|
||||
InkWell(
|
||||
onTap: () async {
|
||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => ColumbiaGorge()));
|
||||
|
@ -1,8 +1,8 @@
|
||||
import 'package:flutter_web/material.dart';
|
||||
import 'defaults.dart';
|
||||
import 'gorgecamping.dart';
|
||||
import 'prebuildcards.dart';
|
||||
import 'card_templates.dart';
|
||||
import 'gorgecamping.dart';
|
||||
|
||||
class ColumbiaGorge extends StatefulWidget {
|
||||
@override
|
||||
|
@ -1,8 +1,6 @@
|
||||
import 'package:flutter_web/material.dart';
|
||||
import 'defaults.dart';
|
||||
import 'prebuildcards.dart';
|
||||
import 'card_templates.dart';
|
||||
import 'gorgecamping.dart';
|
||||
|
||||
class GorgeCamping extends StatefulWidget {
|
||||
@override
|
||||
|
@ -32,10 +32,6 @@ class _HikesState extends State<Hikes> {
|
||||
padding: EdgeInsets.only(bottom: 6.0,),
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
cardThree(_mapTip),
|
||||
cardThree(_prepared),
|
||||
cardThree(_eagleCreekClosed),
|
||||
cardThree(_whiteWaterTrailClosed),
|
||||
macleayParkPittockMansion(),
|
||||
angelsRest(),
|
||||
multnomahFalls(),
|
||||
@ -44,6 +40,10 @@ class _HikesState extends State<Hikes> {
|
||||
paradisePark(),
|
||||
silverFalls(),
|
||||
// jeffersonPark(),
|
||||
cardThree(_mapTip),
|
||||
cardThree(_prepared),
|
||||
cardThree(_eagleCreekClosed),
|
||||
cardThree(_whiteWaterTrailClosed),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
49
web/oregoncoast.dart
Normal file
49
web/oregoncoast.dart
Normal file
@ -0,0 +1,49 @@
|
||||
import 'package:flutter_web/material.dart';
|
||||
import 'defaults.dart';
|
||||
import 'card_templates.dart';
|
||||
import 'prebuildcards.dart';
|
||||
|
||||
class OregonCoast extends StatefulWidget {
|
||||
@override
|
||||
_OregonCoastState createState() => _OregonCoastState();
|
||||
}
|
||||
|
||||
class _OregonCoastState extends State<OregonCoast> {
|
||||
String _coastString = 'These is not a single State Park Campground on the Oregon Coast that is not Amazing!';
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('OregonCoast'),
|
||||
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>[
|
||||
fortStevens(),
|
||||
tillamookAirMuseum(),
|
||||
oregonCoastAquarium(),
|
||||
seaLionCaves(),
|
||||
infoCard(_coastString,'https://oregonstateparks.org/index.cfm?do=visit.dsp_find','a'),
|
||||
infoCard('Watch Whales on the Oregon Coast','https://oregonstateparks.org/index.cfm?do=thingstodo.dsp_whalewatching','b'),
|
||||
infoCard('Hike at the Oregon Coast.','https://www.oregonhikers.org/field_guide/Oregon_Coast_Hikes','c'),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
@ -231,16 +231,6 @@ Card mountSaintHelens() {
|
||||
);
|
||||
}
|
||||
|
||||
Card oregonCoast() {
|
||||
return convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Oregon_Coast',
|
||||
'oregon-coast',
|
||||
'Visit the Oregon Coast',
|
||||
'https://www.google.com/maps/@44.000001,-124.100001,8z',
|
||||
'oregon-coast-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card mcgloughlinPromenade() {
|
||||
return convenienceCardOne(
|
||||
'https://www.oregonhikers.org/field_guide/McLoughlin_Promenade_Hike',
|
||||
@ -400,3 +390,43 @@ Card oregonGarden() {
|
||||
'oregon-garden-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card oregonCoastAquarium() {
|
||||
return convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Oregon_Coast_Aquarium',
|
||||
'oregon-aquarium',
|
||||
'Visit the Oregon Coast Aquarium in Newport',
|
||||
'https://www.google.com/maps/@44.61784,-124.04709,16z',
|
||||
'oregon-aquarium-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card seaLionCaves() {
|
||||
return convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Sea_Lion_Caves',
|
||||
'sea-lion-caves',
|
||||
'Visit Sea Lion Caves in Florence',
|
||||
'https://www.google.com/maps/@44.1224,-124.1276,16z',
|
||||
'sea-lion-caves-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card fortStevens() {
|
||||
return convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Fort_Stevens_(Oregon)',
|
||||
'fort-stevens',
|
||||
'History Buffs and beach-goers will want to explore Fort Stevens near Warrenton',
|
||||
'https://www.google.com/maps/@46.201944,-123.9625,16z',
|
||||
'fort-stevens-map'
|
||||
);
|
||||
}
|
||||
|
||||
Card tillamookAirMuseum() {
|
||||
return convenienceCardOne(
|
||||
'https://en.wikipedia.org/wiki/Tillamook_Air_Museum',
|
||||
'tillamook-air-museum',
|
||||
'Aviation Enthusiasts will want to visit the Tillamook Air Museum.',
|
||||
'https://www.google.com/maps/@45.420391,-123.804835,16z',
|
||||
'tillamook-air-museum-map'
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user