mirror of
https://github.com/TrentSPalmer/concise-pdx.git
synced 2024-11-24 13:31:31 -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 'washingtonpark.dart';
|
||||||
import 'mounthood.dart';
|
import 'mounthood.dart';
|
||||||
import 'columbiagorge.dart';
|
import 'columbiagorge.dart';
|
||||||
|
import 'oregoncoast.dart';
|
||||||
import 'eastwillamettevalleysights.dart';
|
import 'eastwillamettevalleysights.dart';
|
||||||
import 'westwillamettevalleysights.dart';
|
import 'westwillamettevalleysights.dart';
|
||||||
|
|
||||||
@ -31,7 +32,6 @@ class _AttractionsState extends State<Attractions> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
mountSaintHelens(),
|
mountSaintHelens(),
|
||||||
oregonCoast(),
|
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WestWillametteValleySights()));
|
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.'),
|
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(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => ColumbiaGorge()));
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => ColumbiaGorge()));
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
|
import 'gorgecamping.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'gorgecamping.dart';
|
|
||||||
|
|
||||||
class ColumbiaGorge extends StatefulWidget {
|
class ColumbiaGorge extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'gorgecamping.dart';
|
|
||||||
|
|
||||||
class GorgeCamping extends StatefulWidget {
|
class GorgeCamping extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
|
@ -32,10 +32,6 @@ class _HikesState extends State<Hikes> {
|
|||||||
padding: EdgeInsets.only(bottom: 6.0,),
|
padding: EdgeInsets.only(bottom: 6.0,),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
cardThree(_mapTip),
|
|
||||||
cardThree(_prepared),
|
|
||||||
cardThree(_eagleCreekClosed),
|
|
||||||
cardThree(_whiteWaterTrailClosed),
|
|
||||||
macleayParkPittockMansion(),
|
macleayParkPittockMansion(),
|
||||||
angelsRest(),
|
angelsRest(),
|
||||||
multnomahFalls(),
|
multnomahFalls(),
|
||||||
@ -44,6 +40,10 @@ class _HikesState extends State<Hikes> {
|
|||||||
paradisePark(),
|
paradisePark(),
|
||||||
silverFalls(),
|
silverFalls(),
|
||||||
// jeffersonPark(),
|
// 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() {
|
Card mcgloughlinPromenade() {
|
||||||
return convenienceCardOne(
|
return convenienceCardOne(
|
||||||
'https://www.oregonhikers.org/field_guide/McLoughlin_Promenade_Hike',
|
'https://www.oregonhikers.org/field_guide/McLoughlin_Promenade_Hike',
|
||||||
@ -400,3 +390,43 @@ Card oregonGarden() {
|
|||||||
'oregon-garden-map'
|
'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