mirror of
https://github.com/TrentSPalmer/concise-pdx.git
synced 2024-11-21 04:41:29 -08:00
add urls and ability to deep link
This commit is contained in:
parent
45fee08f5f
commit
c15adcc08b
60
pubspec.lock
60
pubspec.lock
@ -7,7 +7,7 @@ packages:
|
|||||||
name: analyzer
|
name: analyzer
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.38.2"
|
version: "0.38.5"
|
||||||
archive:
|
archive:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -28,21 +28,21 @@ packages:
|
|||||||
name: async
|
name: async
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.3.0"
|
version: "2.4.0"
|
||||||
bazel_worker:
|
bazel_worker:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: bazel_worker
|
name: bazel_worker
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.21"
|
version: "0.1.23"
|
||||||
build:
|
build:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: build
|
name: build
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.1.6"
|
version: "1.2.0"
|
||||||
build_config:
|
build_config:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -56,42 +56,42 @@ packages:
|
|||||||
name: build_daemon
|
name: build_daemon
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.0"
|
version: "2.1.0"
|
||||||
build_modules:
|
build_modules:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: build_modules
|
name: build_modules
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.5.0"
|
version: "2.6.2"
|
||||||
build_resolvers:
|
build_resolvers:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: build_resolvers
|
name: build_resolvers
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.7"
|
version: "1.2.1"
|
||||||
build_runner:
|
build_runner:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
name: build_runner
|
name: build_runner
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.6.9"
|
version: "1.7.1"
|
||||||
build_runner_core:
|
build_runner_core:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: build_runner_core
|
name: build_runner_core
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.1.1"
|
version: "4.1.0"
|
||||||
build_web_compilers:
|
build_web_compilers:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
name: build_web_compilers
|
name: build_web_compilers
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.3.0"
|
version: "2.7.0"
|
||||||
built_collection:
|
built_collection:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -161,7 +161,7 @@ packages:
|
|||||||
name: dart_style
|
name: dart_style
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.2.10"
|
version: "1.3.2"
|
||||||
fixnum:
|
fixnum:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -174,7 +174,7 @@ packages:
|
|||||||
description:
|
description:
|
||||||
path: "packages/flutter_web"
|
path: "packages/flutter_web"
|
||||||
ref: HEAD
|
ref: HEAD
|
||||||
resolved-ref: "3973ac51f326c0a013232f39e9962bd02712d7dd"
|
resolved-ref: c04fb502b842859de07e36954a9390465a5426c0
|
||||||
url: "https://github.com/flutter/flutter_web"
|
url: "https://github.com/flutter/flutter_web"
|
||||||
source: git
|
source: git
|
||||||
version: "0.0.0"
|
version: "0.0.0"
|
||||||
@ -183,7 +183,7 @@ packages:
|
|||||||
description:
|
description:
|
||||||
path: "packages/flutter_web_ui"
|
path: "packages/flutter_web_ui"
|
||||||
ref: HEAD
|
ref: HEAD
|
||||||
resolved-ref: "3973ac51f326c0a013232f39e9962bd02712d7dd"
|
resolved-ref: c04fb502b842859de07e36954a9390465a5426c0
|
||||||
url: "https://github.com/flutter/flutter_web"
|
url: "https://github.com/flutter/flutter_web"
|
||||||
source: git
|
source: git
|
||||||
version: "0.0.0"
|
version: "0.0.0"
|
||||||
@ -193,14 +193,14 @@ packages:
|
|||||||
name: front_end
|
name: front_end
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.24"
|
version: "0.1.27"
|
||||||
glob:
|
glob:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: glob
|
name: glob
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.1.7"
|
version: "1.2.0"
|
||||||
graphs:
|
graphs:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -214,7 +214,7 @@ packages:
|
|||||||
name: html
|
name: html
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.14.0+2"
|
version: "0.14.0+3"
|
||||||
http:
|
http:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -270,7 +270,7 @@ packages:
|
|||||||
name: kernel
|
name: kernel
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.3.24"
|
version: "0.3.27"
|
||||||
logging:
|
logging:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -284,7 +284,7 @@ packages:
|
|||||||
name: matcher
|
name: matcher
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.12.5"
|
version: "0.12.6"
|
||||||
meta:
|
meta:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -299,6 +299,20 @@ packages:
|
|||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.9.6+3"
|
version: "0.9.6+3"
|
||||||
|
node_interop:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: node_interop
|
||||||
|
url: "https://pub.dartlang.org"
|
||||||
|
source: hosted
|
||||||
|
version: "1.0.3"
|
||||||
|
node_io:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: node_io
|
||||||
|
url: "https://pub.dartlang.org"
|
||||||
|
source: hosted
|
||||||
|
version: "1.0.1+2"
|
||||||
package_config:
|
package_config:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -340,7 +354,7 @@ packages:
|
|||||||
name: protobuf
|
name: protobuf
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.13.15"
|
version: "1.0.0"
|
||||||
pub_semver:
|
pub_semver:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -368,7 +382,7 @@ packages:
|
|||||||
name: scratch_space
|
name: scratch_space
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.0.4"
|
version: "0.0.4+1"
|
||||||
shelf:
|
shelf:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -466,13 +480,13 @@ packages:
|
|||||||
name: web_socket_channel
|
name: web_socket_channel
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.15"
|
version: "1.1.0"
|
||||||
yaml:
|
yaml:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: yaml
|
name: yaml
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.16"
|
version: "2.2.0"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=2.4.0 <3.0.0"
|
dart: ">=2.5.0 <3.0.0"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'washingtonpark.dart';
|
import 'washingtonpark.dart';
|
||||||
@ -9,6 +10,7 @@ import 'washingtonstate.dart';
|
|||||||
import 'centraloregon.dart';
|
import 'centraloregon.dart';
|
||||||
import 'eastwillamettevalleysights.dart';
|
import 'eastwillamettevalleysights.dart';
|
||||||
import 'westwillamettevalleysights.dart';
|
import 'westwillamettevalleysights.dart';
|
||||||
|
import 'concisepdx.dart';
|
||||||
|
|
||||||
class Attractions extends StatefulWidget {
|
class Attractions extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -16,10 +18,24 @@ class Attractions extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _AttractionsState extends State<Attractions> {
|
class _AttractionsState extends State<Attractions> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","must-see-and-do","/must-see-and-do.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ConcisePDX()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
'attractions',
|
'attractions',
|
||||||
),
|
),
|
||||||
@ -33,50 +49,50 @@ class _AttractionsState extends State<Attractions> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WestWillametteValleySights()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => WestWillametteValleySights()));
|
||||||
},
|
},
|
||||||
child: cardOne('Sight-See in the West Willamette Valley.'),
|
child: cardOne('Sight-See in the West Willamette Valley.'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => EastWillametteValleySights()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => EastWillametteValleySights()));
|
||||||
},
|
},
|
||||||
child: cardOne('Sight-See in the East Willamette Valley.'),
|
child: cardOne('Sight-See in the East Willamette Valley.'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => MountHood()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => MountHood()));
|
||||||
},
|
},
|
||||||
child: cardOne('Camp, Hike, or Sight-See on Mt Hood.'),
|
child: cardOne('Camp, Hike, or Sight-See on Mt Hood.'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => OregonCoast()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => OregonCoast()));
|
||||||
},
|
},
|
||||||
child: cardOne('Camp, Hike, or Sight-See on the Oregon Coast.'),
|
child: cardOne('Camp, Hike, or Sight-See on the Oregon Coast.'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => ColumbiaGorge()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ColumbiaGorge()));
|
||||||
},
|
},
|
||||||
child: cardOne('Camp, Hike, Cruise, or Sight-See in the Columbia River Gorge.'),
|
child: cardOne('Camp, Hike, Cruise, or Sight-See in the Columbia River Gorge.'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WashingtonPark()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => WashingtonPark()));
|
||||||
},
|
},
|
||||||
child: cardOne('Visit the Zoo, Rose Garden, Hoyt Arboretum, Pittock Mansion, and Japanese Garden at WashingtonPark.'),
|
child: cardOne('Visit the Zoo, Rose Garden, Hoyt Arboretum, Pittock Mansion, and Japanese Garden at WashingtonPark.'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WashingtonState()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => WashingtonState()));
|
||||||
},
|
},
|
||||||
child: cardOne('Sight-See in Washington State.'),
|
child: cardOne('Sight-See in Washington State.'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => CentralOregon()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => CentralOregon()));
|
||||||
},
|
},
|
||||||
child: cardOne('Sight-See in Central and Eastern Oregon.'),
|
child: cardOne('Sight-See in Central and Eastern Oregon.'),
|
||||||
),
|
),
|
||||||
|
@ -1,6 +1,16 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'dart:html' as html;
|
import 'dart:html' as html;
|
||||||
|
import 'concisepdx.dart';
|
||||||
|
|
||||||
|
IconButton Home(BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.home),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ConcisePDX()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
Card infoCard(String leftText,String infoUrl,String infoUrlName) {
|
Card infoCard(String leftText,String infoUrl,String infoUrlName) {
|
||||||
return Card(
|
return Card(
|
||||||
|
11
web/central-oregon.html
Normal file
11
web/central-oregon.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>central-oregon</title>
|
||||||
|
<script id="route">central-oregon.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'attractions.dart';
|
||||||
|
|
||||||
class CentralOregon extends StatefulWidget {
|
class CentralOregon extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,21 +11,29 @@ class CentralOregon extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _CentralOregonState extends State<CentralOregon> {
|
class _CentralOregonState extends State<CentralOregon> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","central-oregon","/central-oregon.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Attractions()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('central-eastern-oregon'),
|
title: Text('central-eastern-oregon'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
@ -43,14 +54,6 @@ class _CentralOregonState extends State<CentralOregon> {
|
|||||||
wallowaLake(),
|
wallowaLake(),
|
||||||
hellsCanyon(),
|
hellsCanyon(),
|
||||||
johnDayFossilBeds(),
|
johnDayFossilBeds(),
|
||||||
/*
|
|
||||||
InkWell(
|
|
||||||
onTap: () async {
|
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WashingtonHiking()));
|
|
||||||
},
|
|
||||||
child: cardOne('Hiking in Washington State.'),
|
|
||||||
),
|
|
||||||
*/
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
11
web/chinese-japanese-gardens.html
Normal file
11
web/chinese-japanese-gardens.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>chinese-japanese-gardens</title>
|
||||||
|
<script id="route">chinese-japanese-gardens.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -2,6 +2,8 @@ import 'package:flutter_web/material.dart';
|
|||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'faqs.dart';
|
||||||
|
|
||||||
class ChineseJapaneseGardens extends StatefulWidget {
|
class ChineseJapaneseGardens extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,6 +11,10 @@ class ChineseJapaneseGardens extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _ChineseJapaneseGardensState extends State<ChineseJapaneseGardens> {
|
class _ChineseJapaneseGardensState extends State<ChineseJapaneseGardens> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","chinese-japanese-gardens","/chinese-japanese-gardens.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
|
||||||
@ -18,16 +24,21 @@ class _ChineseJapaneseGardensState extends State<ChineseJapaneseGardens> {
|
|||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Faqs()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('chinese-japanese-gardens'),
|
title: Text('chinese-japanese-gardens'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/columbia-gorge-camping.html
Normal file
11
web/columbia-gorge-camping.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>columbia-gorge-camping</title>
|
||||||
|
<script id="route">columbia-gorge-camping.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/columbia-gorge.html
Normal file
11
web/columbia-gorge.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>columbia-gorge</title>
|
||||||
|
<script id="route">columbia-gorge.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,8 +1,10 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'gorgecamping.dart';
|
import 'gorgecamping.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'attractions.dart';
|
||||||
|
|
||||||
class ColumbiaGorge extends StatefulWidget {
|
class ColumbiaGorge extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -10,20 +12,29 @@ class ColumbiaGorge extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _ColumbiaGorgeState extends State<ColumbiaGorge> {
|
class _ColumbiaGorgeState extends State<ColumbiaGorge> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","columbia-gorge","/columbia-gorge.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Attractions()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('ColumbiaGorge'),
|
title: Text('ColumbiaGorge'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
@ -46,8 +57,8 @@ class _ColumbiaGorgeState extends State<ColumbiaGorge> {
|
|||||||
infoCard('Wind Surf in the Columbia River Gorge.','https://www.travelportland.com/article/windsurfing-columbia-river-gorge/','b'),
|
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'),
|
infoCard('Stern-Wheeler Cruises in the Columbia River Gorge.','https://en.wikipedia.org/wiki/Tourist_sternwheelers_of_Oregon','c'),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => GorgeCamping()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => GorgeCamping()));
|
||||||
},
|
},
|
||||||
child: cardOne('Camping in the Columbia River Gorge.'),
|
child: cardOne('Camping in the Columbia River Gorge.'),
|
||||||
),
|
),
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'streetareas.dart';
|
import 'streetareas.dart';
|
||||||
import 'vistas.dart';
|
import 'vistas.dart';
|
||||||
@ -7,18 +8,114 @@ import 'hikes.dart';
|
|||||||
import 'attractions.dart';
|
import 'attractions.dart';
|
||||||
import 'feedback.dart';
|
import 'feedback.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'middlesoutheaststreets.dart';
|
||||||
|
import 'sellwoodstreets.dart';
|
||||||
|
import 'northeaststreets.dart';
|
||||||
|
import 'northstreets.dart';
|
||||||
|
import 'stjohnsstreets.dart';
|
||||||
|
import 'northweststreets.dart';
|
||||||
|
import 'northweststreetssights.dart';
|
||||||
|
import 'southwest.dart';
|
||||||
|
import 'smalltowns.dart';
|
||||||
|
import 'washingtonpark.dart';
|
||||||
|
import 'eastwillamettevalley.dart';
|
||||||
|
import 'westwillamettevalley.dart';
|
||||||
|
import 'eastcounty.dart';
|
||||||
|
import 'silverton.dart';
|
||||||
|
import 'oregoncity.dart';
|
||||||
|
import 'oregoncitysights.dart';
|
||||||
|
import 'westwillamettevalleysights.dart';
|
||||||
|
import 'eastwillamettevalleysights.dart';
|
||||||
|
import 'mounthood.dart';
|
||||||
|
import 'oregoncoast.dart';
|
||||||
|
import 'columbiagorge.dart';
|
||||||
|
import 'washingtonstate.dart';
|
||||||
|
import 'centraloregon.dart';
|
||||||
|
import 'gorgecamping.dart';
|
||||||
|
import 'washingtonhiking.dart';
|
||||||
|
import 'vistadrives.dart';
|
||||||
|
import 'vistawalks.dart';
|
||||||
|
import 'vistahikes.dart';
|
||||||
|
import 'gorgevistas.dart';
|
||||||
|
import 'remotevistas.dart';
|
||||||
|
import 'vistasnorthpdx.dart';
|
||||||
|
import 'vistasnortheastpdx.dart';
|
||||||
|
import 'vistassoutheastpdx.dart';
|
||||||
|
import 'greshamvistas.dart';
|
||||||
|
import 'oregoncityvistas.dart';
|
||||||
|
import 'trimet.dart';
|
||||||
|
import 'chinesejapanesegardens.dart';
|
||||||
|
|
||||||
void main() => runApp(MainApp());
|
void main() {
|
||||||
|
var routePath = "/";
|
||||||
|
|
||||||
|
var route = html.window.document.getElementById("route");
|
||||||
|
if (route != null) {
|
||||||
|
routePath += route.innerHtml;
|
||||||
|
}
|
||||||
|
|
||||||
|
runApp(MainApp(routePath));
|
||||||
|
}
|
||||||
|
|
||||||
class MainApp extends StatelessWidget {
|
class MainApp extends StatelessWidget {
|
||||||
|
|
||||||
|
final String route;
|
||||||
|
MainApp(this.route);
|
||||||
|
|
||||||
|
Widget page() {
|
||||||
|
switch (route) {
|
||||||
|
case "/": return ConcisePDX();
|
||||||
|
case "/walkable-street-areas.html": return StreetAreas();
|
||||||
|
case "/must-see-and-do.html": return Attractions();
|
||||||
|
case "/must-hikes.html": return Hikes();
|
||||||
|
case "/vistas-and-overlooks.html": return Vistas();
|
||||||
|
case "/faqs.html": return Faqs();
|
||||||
|
case "/feedback-and-source.html": return FeedBack();
|
||||||
|
case "/middle-se-streets.html": return MiddleSouthEastStreets();
|
||||||
|
case "/sellwood-streets.html": return SellwoodStreets();
|
||||||
|
case "/northeast-streets.html": return NorthEastStreets();
|
||||||
|
case "/north-streets.html": return NorthStreets();
|
||||||
|
case "/stjohns-streets.html": return StJohnsStreets();
|
||||||
|
case "/northwest-streets.html": return NorthWestStreets();
|
||||||
|
case "/northwest-streets-sights.html": return NorthWestStreetsSights();
|
||||||
|
case "/southwest-streets.html": return SouthWestStreets();
|
||||||
|
case "/small-town-streets.html": return SmallTowns();
|
||||||
|
case "/washington-park.html": return WashingtonPark();
|
||||||
|
case "/east-willamette-valley.html": return EastWillametteValley();
|
||||||
|
case "/west-willamette-valley.html": return WestWillametteValley();
|
||||||
|
case "/east-county.html": return EastCounty();
|
||||||
|
case "/silverton.html": return Silverton();
|
||||||
|
case "/oregon-city.html": return OregonCity();
|
||||||
|
case "/oregon-city-sights.html": return OregonCitySights();
|
||||||
|
case "/west-willamette-valley-sights.html": return WestWillametteValleySights();
|
||||||
|
case "/east-willamette-valley-sights.html": return EastWillametteValleySights();
|
||||||
|
case "/mthood.html": return MountHood();
|
||||||
|
case "/oregon-coast.html": return OregonCoast();
|
||||||
|
case "/columbia-gorge.html": return ColumbiaGorge();
|
||||||
|
case "/washington-state.html": return WashingtonState();
|
||||||
|
case "/central-oregon.html": return CentralOregon();
|
||||||
|
case "/columbia-gorge-camping.html": return GorgeCamping();
|
||||||
|
case "/washington-hiking.html": return WashingtonHiking();
|
||||||
|
case "/driveable-vistas.html": return VistaDrives();
|
||||||
|
case "/walkable-vistas.html": return VistaWalks();
|
||||||
|
case "/hikeable-vistas.html": return VistaHikes();
|
||||||
|
case "/gorge-vistas.html": return GorgeVistas();
|
||||||
|
case "/remote-vistas.html": return RemoteVistas();
|
||||||
|
case "/vistas-north-pdx.html": return VistasNorthPDX();
|
||||||
|
case "/vistas-ne-pdx.html": return VistasNorthEastPDX();
|
||||||
|
case "/vistas-se-pdx.html": return VistasSouthEastPDX();
|
||||||
|
case "/gresham-vistas.html": return GreshamVistas();
|
||||||
|
case "/oregon-city-vistas.html": return OregonCityVistas();
|
||||||
|
case "/trimet.html": return TriMet();
|
||||||
|
case "/chinese-japanese-gardens.html": return ChineseJapaneseGardens();
|
||||||
|
default: return ConcisePDX();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
title: 'concise-pdx',
|
home: page(),
|
||||||
theme: ThemeData(
|
|
||||||
primaryColor: navy,
|
|
||||||
),
|
|
||||||
home: ConcisePDX(),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -29,6 +126,10 @@ class ConcisePDX extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _ConcisePDXState extends State<ConcisePDX> {
|
class _ConcisePDXState extends State<ConcisePDX> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","concise-pdx","/#/");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
@ -44,39 +145,38 @@ class _ConcisePDXState extends State<ConcisePDX> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => StreetAreas()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => StreetAreas()));
|
||||||
},
|
},
|
||||||
child: cardOne('Walkable Streets With Restaurants and Bars'),
|
child: cardOne('Walkable Streets With Restaurants and Bars'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => Attractions()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Attractions()));
|
||||||
},
|
},
|
||||||
child: cardOne('Must See and Do'),
|
child: cardOne('Must See and Do'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => Hikes()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Hikes()));
|
||||||
},
|
},
|
||||||
child: cardOne('Must Hikes'),
|
child: cardOne('Must Hikes'),
|
||||||
),
|
),
|
||||||
// cardOne('Anecdotal Recommendations'),
|
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => Vistas()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
},
|
},
|
||||||
child: cardOne('Vistas and Overlooks'),
|
child: cardOne('Vistas and Overlooks'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => Faqs()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Faqs()));
|
||||||
},
|
},
|
||||||
child: cardOne('FAQ\'s'),
|
child: cardOne('FAQ\'s'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => FeedBack()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => FeedBack()));
|
||||||
},
|
},
|
||||||
child: cardOne('Feedback and Source'),
|
child: cardOne('Feedback and Source'),
|
||||||
),
|
),
|
||||||
|
11
web/driveable-vistas.html
Normal file
11
web/driveable-vistas.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>driveable-vistas</title>
|
||||||
|
<script id="route">driveable-vistas.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/east-county.html
Normal file
11
web/east-county.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>east-county</title>
|
||||||
|
<script id="route">east-county.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/east-willamette-valley-sights.html
Normal file
11
web/east-willamette-valley-sights.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>east-willamette-valley-sights</title>
|
||||||
|
<script id="route">east-willamette-valley-sights.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/east-willamette-valley.html
Normal file
11
web/east-willamette-valley.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>east-willamette-valley</title>
|
||||||
|
<script id="route">east-willamette-valley.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'smalltowns.dart';
|
||||||
|
|
||||||
class EastCounty extends StatefulWidget {
|
class EastCounty extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +10,29 @@ class EastCounty extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _EastCountyState extends State<EastCounty> {
|
class _EastCountyState extends State<EastCounty> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","east-county","/east-county.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text('walkable small-towns\nwith bars-restaurants'),
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => SmallTowns()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
|
title: Text('east county'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'silverton.dart';
|
import 'silverton.dart';
|
||||||
import 'oregoncity.dart';
|
import 'oregoncity.dart';
|
||||||
|
import 'smalltowns.dart';
|
||||||
|
|
||||||
class EastWillametteValley extends StatefulWidget {
|
class EastWillametteValley extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -10,20 +12,29 @@ class EastWillametteValley extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _EastWillametteValleyState extends State<EastWillametteValley> {
|
class _EastWillametteValleyState extends State<EastWillametteValley> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","east-willamette-valley","/east-willamette-valley.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text('walkable small-towns\nwith bars-restaurants'),
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => SmallTowns()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
|
title: Text('east willamette valley'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
@ -34,14 +45,14 @@ class _EastWillametteValleyState extends State<EastWillametteValley> {
|
|||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
cardTwo('Downtown Mt Angel is famous for German Food','https://www.google.com/maps/@45.0696714,-122.7991836,17z','downtown-mtangel'),
|
cardTwo('Downtown Mt Angel is famous for German Food','https://www.google.com/maps/@45.0696714,-122.7991836,17z','downtown-mtangel'),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => Silverton()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Silverton()));
|
||||||
},
|
},
|
||||||
child: cardOne('Silverton (and sights)'),
|
child: cardOne('Silverton (and sights)'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => OregonCity()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => OregonCity()));
|
||||||
},
|
},
|
||||||
child: cardOne('Oregon City (and sights)'),
|
child: cardOne('Oregon City (and sights)'),
|
||||||
),
|
),
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'attractions.dart';
|
||||||
|
|
||||||
class EastWillametteValleySights extends StatefulWidget {
|
class EastWillametteValleySights extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,20 +11,29 @@ class EastWillametteValleySights extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _EastWillametteValleySightsState extends State<EastWillametteValleySights> {
|
class _EastWillametteValleySightsState extends State<EastWillametteValleySights> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","east-willamette-valley-sights","/east-willamette-valley-sights.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Attractions()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('east willamette valley sights'),
|
title: Text('east willamette valley sights'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -3,6 +3,8 @@ import 'defaults.dart';
|
|||||||
import 'trimet.dart';
|
import 'trimet.dart';
|
||||||
import 'chinesejapanesegardens.dart';
|
import 'chinesejapanesegardens.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'concisepdx.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
|
||||||
class Faqs extends StatefulWidget {
|
class Faqs extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -10,10 +12,24 @@ class Faqs extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _FaqsState extends State<Faqs> {
|
class _FaqsState extends State<Faqs> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","faqs","/faqs.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ConcisePDX()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
'faqs',
|
'faqs',
|
||||||
),
|
),
|
||||||
@ -27,14 +43,14 @@ class _FaqsState extends State<Faqs> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => TriMet()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => TriMet()));
|
||||||
},
|
},
|
||||||
child: cardOne('How do the buses, lightrail, and streetcars work?'),
|
child: cardOne('How do the buses, lightrail, and streetcars work?'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => ChineseJapaneseGardens()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ChineseJapaneseGardens()));
|
||||||
},
|
},
|
||||||
child: cardOne('What is the difference between Chinese Gardens and Japanese Gardens?'),
|
child: cardOne('What is the difference between Chinese Gardens and Japanese Gardens?'),
|
||||||
),
|
),
|
||||||
|
11
web/faqs.html
Normal file
11
web/faqs.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>faqs</title>
|
||||||
|
<script id="route">faqs.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/feedback-and-source.html
Normal file
11
web/feedback-and-source.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>feedback-and-source</title>
|
||||||
|
<script id="route">feedback-and-source.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'concisepdx.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
|
||||||
class FeedBack extends StatefulWidget {
|
class FeedBack extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,11 +10,25 @@ class FeedBack extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _FeedBackState extends State<FeedBack> {
|
class _FeedBackState extends State<FeedBack> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","feedback-and-source","/feedback-and-source.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ConcisePDX()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('feedback'),
|
title: Text('feedback'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
|
11
web/gorge-vistas.html
Normal file
11
web/gorge-vistas.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>gorge-vistas</title>
|
||||||
|
<script id="route">gorge-vistas.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'columbiagorge.dart';
|
||||||
|
|
||||||
class GorgeCamping extends StatefulWidget {
|
class GorgeCamping extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +10,29 @@ class GorgeCamping extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _GorgeCampingState extends State<GorgeCamping> {
|
class _GorgeCampingState extends State<GorgeCamping> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","columbia-gorge-camping","/columbia-gorge-camping.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ColumbiaGorge()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('gorge-camping'),
|
title: Text('gorge-camping'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'vistas.dart';
|
||||||
|
|
||||||
class GorgeVistas extends StatefulWidget {
|
class GorgeVistas extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +11,29 @@ class GorgeVistas extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _GorgeVistasState extends State<GorgeVistas> {
|
class _GorgeVistasState extends State<GorgeVistas> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","gorge-vistas","/gorge-vistas.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('gorge-vistas'),
|
title: Text('gorge-vistas'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/gresham-vistas.html
Normal file
11
web/gresham-vistas.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>gresham-vistas</title>
|
||||||
|
<script id="route">gresham-vistas.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'vistas.dart';
|
||||||
|
|
||||||
class GreshamVistas extends StatefulWidget {
|
class GreshamVistas extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +11,29 @@ class GreshamVistas extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _GreshamVistasState extends State<GreshamVistas> {
|
class _GreshamVistasState extends State<GreshamVistas> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","gresham-vistas","/gresham-vistas.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('gresham-vistas'),
|
title: Text('gresham-vistas'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/hikeable-vistas.html
Normal file
11
web/hikeable-vistas.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>hikeable-vistas</title>
|
||||||
|
<script id="route">hikeable-vistas.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -2,6 +2,8 @@ import 'package:flutter_web/material.dart';
|
|||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'concisepdx.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
|
||||||
class Hikes extends StatefulWidget {
|
class Hikes extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,6 +11,10 @@ class Hikes extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _HikesState extends State<Hikes> {
|
class _HikesState extends State<Hikes> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","must-hikes","/must-hikes.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
|
||||||
@ -20,6 +26,16 @@ class _HikesState extends State<Hikes> {
|
|||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ConcisePDX()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
'hikes',
|
'hikes',
|
||||||
),
|
),
|
||||||
|
11
web/middle-se-streets.html
Normal file
11
web/middle-se-streets.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>middle-se-streets</title>
|
||||||
|
<script id="route">middle-se-streets.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'streetareas.dart';
|
||||||
|
|
||||||
class MiddleSouthEastStreets extends StatefulWidget {
|
class MiddleSouthEastStreets extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,20 +11,29 @@ class MiddleSouthEastStreets extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _MiddleSouthEastStreetsState extends State<MiddleSouthEastStreets> {
|
class _MiddleSouthEastStreetsState extends State<MiddleSouthEastStreets> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","middle-southeast-streets","/middle-se-streets.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => StreetAreas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('walkable middle se streets\nwith bars-restaurants'),
|
title: Text('walkable middle se streets\nwith bars-restaurants'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'attractions.dart';
|
||||||
|
|
||||||
class MountHood extends StatefulWidget {
|
class MountHood extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,20 +11,29 @@ class MountHood extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _MountHoodState extends State<MountHood> {
|
class _MountHoodState extends State<MountHood> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","mthood","/mthood.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Attractions()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('MountHood'),
|
title: Text('MountHood'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/mthood.html
Normal file
11
web/mthood.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>mthood</title>
|
||||||
|
<script id="route">mthood.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/must-hikes.html
Normal file
11
web/must-hikes.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>must-hikes</title>
|
||||||
|
<script id="route">must-hikes.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/must-see-and-do.html
Normal file
11
web/must-see-and-do.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>must-see-and-do.html</title>
|
||||||
|
<script id="route">must-see-and-do.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/north-streets.html
Normal file
11
web/north-streets.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>north-streets</title>
|
||||||
|
<script id="route">north-streets.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/northeast-streets.html
Normal file
11
web/northeast-streets.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>northeast-streets</title>
|
||||||
|
<script id="route">northeast-streets.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'streetareas.dart';
|
||||||
|
|
||||||
class NorthEastStreets extends StatefulWidget {
|
class NorthEastStreets extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,20 +11,29 @@ class NorthEastStreets extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _NorthEastStreetsState extends State<NorthEastStreets> {
|
class _NorthEastStreetsState extends State<NorthEastStreets> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","northeast-streets","/northeast-streets.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => StreetAreas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('walkable northeast streets\nwith bars-restaurants'),
|
title: Text('walkable northeast streets\nwith bars-restaurants'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'streetareas.dart';
|
||||||
|
|
||||||
class NorthStreets extends StatefulWidget {
|
class NorthStreets extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,20 +11,29 @@ class NorthStreets extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _NorthStreetsState extends State<NorthStreets> {
|
class _NorthStreetsState extends State<NorthStreets> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","north-streets","/north-streets.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => StreetAreas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('walkable north streets\nwith bars-restaurants'),
|
title: Text('walkable north streets\nwith bars-restaurants'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/northwest-streets-sights.html
Normal file
11
web/northwest-streets-sights.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>northwest-streets-sights</title>
|
||||||
|
<script id="route">northwest-streets-sights.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/northwest-streets.html
Normal file
11
web/northwest-streets.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>northwest-streets</title>
|
||||||
|
<script id="route">northwest-streets.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'northweststreetssights.dart';
|
import 'northweststreetssights.dart';
|
||||||
|
import 'streetareas.dart';
|
||||||
|
|
||||||
class NorthWestStreets extends StatefulWidget {
|
class NorthWestStreets extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,20 +11,29 @@ class NorthWestStreets extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _NorthWestStreetsState extends State<NorthWestStreets> {
|
class _NorthWestStreetsState extends State<NorthWestStreets> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","northwest-streets","/northwest-streets.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => StreetAreas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('walkable northwest streets\nwith bars-restaurants'),
|
title: Text('walkable northwest streets\nwith bars-restaurants'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
@ -34,8 +45,8 @@ class _NorthWestStreetsState extends State<NorthWestStreets> {
|
|||||||
cardTwo('NW 23rd from Burnside to Thurman','https://www.google.com/maps/@45.5295226,-122.6984339,16z','23rd'),
|
cardTwo('NW 23rd from Burnside to Thurman','https://www.google.com/maps/@45.5295226,-122.6984339,16z','23rd'),
|
||||||
cardTwo('NW 21st from Burnside to Raleigh','https://www.google.com/maps/@45.5291143,-122.6945136,16z','21st'),
|
cardTwo('NW 21st from Burnside to Raleigh','https://www.google.com/maps/@45.5291143,-122.6945136,16z','21st'),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => NorthWestStreetsSights()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => NorthWestStreetsSights()));
|
||||||
},
|
},
|
||||||
child: cardOne('As long as you\'re in NorthWest Portland.'),
|
child: cardOne('As long as you\'re in NorthWest Portland.'),
|
||||||
),
|
),
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'washingtonpark.dart';
|
import 'washingtonpark.dart';
|
||||||
|
import 'northweststreets.dart';
|
||||||
|
|
||||||
class NorthWestStreetsSights extends StatefulWidget {
|
class NorthWestStreetsSights extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -10,20 +12,29 @@ class NorthWestStreetsSights extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _NorthWestStreetsSightsState extends State<NorthWestStreetsSights> {
|
class _NorthWestStreetsSightsState extends State<NorthWestStreetsSights> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","northwest-streets-sights","/northwest-streets-sights.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => NorthWestStreets()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('northwest-pdx-sights'),
|
title: Text('northwest-pdx-sights'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
@ -41,8 +52,8 @@ class _NorthWestStreetsSightsState extends State<NorthWestStreetsSights> {
|
|||||||
'providence-park-map'
|
'providence-park-map'
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WashingtonPark()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => WashingtonPark()));
|
||||||
},
|
},
|
||||||
child: cardOne('Visit the Zoo, Rose Garden, Hoyt Arboretum, Pittock Mansion, and Japanese Garden at WashingtonPark.'),
|
child: cardOne('Visit the Zoo, Rose Garden, Hoyt Arboretum, Pittock Mansion, and Japanese Garden at WashingtonPark.'),
|
||||||
),
|
),
|
||||||
|
11
web/oregon-city-sights.html
Normal file
11
web/oregon-city-sights.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>oregon-city-sights</title>
|
||||||
|
<script id="route">oregon-city-sights.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/oregon-city-vistas.html
Normal file
11
web/oregon-city-vistas.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>oregon-city-vistas</title>
|
||||||
|
<script id="route">oregon-city-vistas.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/oregon-city.html
Normal file
11
web/oregon-city.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>oregon-city</title>
|
||||||
|
<script id="route">oregon-city.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/oregon-coast.html
Normal file
11
web/oregon-coast.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>oregon-coast</title>
|
||||||
|
<script id="route">oregon-coast.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'oregoncitysights.dart';
|
import 'oregoncitysights.dart';
|
||||||
|
import 'eastwillamettevalley.dart';
|
||||||
|
|
||||||
class OregonCity extends StatefulWidget {
|
class OregonCity extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,20 +11,29 @@ class OregonCity extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _OregonCityState extends State<OregonCity> {
|
class _OregonCityState extends State<OregonCity> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","oregon-city","/oregon-city.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text('walkable small-towns\nwith bars-restaurants'),
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => EastWillametteValley()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
|
title: Text('walkable streets in Oregon City'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'oregoncity.dart';
|
||||||
|
|
||||||
class OregonCitySights extends StatefulWidget {
|
class OregonCitySights extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,20 +11,29 @@ class OregonCitySights extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _OregonCitySightsState extends State<OregonCitySights> {
|
class _OregonCitySightsState extends State<OregonCitySights> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","oregon-city-sights","/oregon-city-sights.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => OregonCity()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('oregon-city-sights'),
|
title: Text('oregon-city-sights'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -2,6 +2,8 @@ import 'package:flutter_web/material.dart';
|
|||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'vistas.dart';
|
||||||
|
|
||||||
class OregonCityVistas extends StatefulWidget {
|
class OregonCityVistas extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,20 +11,29 @@ class OregonCityVistas extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _OregonCityVistasState extends State<OregonCityVistas> {
|
class _OregonCityVistasState extends State<OregonCityVistas> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","oregon-city-vistas","/oregon-city-vistas.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('oregon-city-vistas'),
|
title: Text('oregon-city-vistas'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'attractions.dart';
|
||||||
|
|
||||||
class OregonCoast extends StatefulWidget {
|
class OregonCoast extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -11,20 +13,29 @@ class OregonCoast extends StatefulWidget {
|
|||||||
class _OregonCoastState extends State<OregonCoast> {
|
class _OregonCoastState extends State<OregonCoast> {
|
||||||
String _coastString = 'These is not a single State Park Campground on the Oregon Coast that is not Amazing!';
|
String _coastString = 'These is not a single State Park Campground on the Oregon Coast that is not Amazing!';
|
||||||
|
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","oregon-coast","/oregon-coast.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Attractions()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('OregonCoast'),
|
title: Text('OregonCoast'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/remote-vistas.html
Normal file
11
web/remote-vistas.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>remote-vistas</title>
|
||||||
|
<script id="route">remote-vistas.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'vistas.dart';
|
||||||
|
|
||||||
class RemoteVistas extends StatefulWidget {
|
class RemoteVistas extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +11,29 @@ class RemoteVistas extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _RemoteVistasState extends State<RemoteVistas> {
|
class _RemoteVistasState extends State<RemoteVistas> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","remote-vistas","/remote-vistas.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('remote-vistas'),
|
title: Text('remote-vistas'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/sellwood-streets.html
Normal file
11
web/sellwood-streets.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>sellwood-streets</title>
|
||||||
|
<script id="route">sellwood-streets.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'streetareas.dart';
|
||||||
|
|
||||||
class SellwoodStreets extends StatefulWidget {
|
class SellwoodStreets extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +10,29 @@ class SellwoodStreets extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _SellwoodStreetsState extends State<SellwoodStreets> {
|
class _SellwoodStreetsState extends State<SellwoodStreets> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","sellwood-streets","/sellwood-streets.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => StreetAreas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('walkable sellwood streets\nwith bars-restaurants'),
|
title: Text('walkable sellwood streets\nwith bars-restaurants'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'eastwillamettevalley.dart';
|
||||||
|
|
||||||
class Silverton extends StatefulWidget {
|
class Silverton extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,20 +11,29 @@ class Silverton extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _SilvertonState extends State<Silverton> {
|
class _SilvertonState extends State<Silverton> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","silverton","/silverton.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text('walkable small-towns\nwith bars-restaurants'),
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => EastWillametteValley()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
|
title: Text('walkable streets in Silverton'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/silverton.html
Normal file
11
web/silverton.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>silverton</title>
|
||||||
|
<script id="route">silverton.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/small-town-streets.html
Normal file
11
web/small-town-streets.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>small-town-streets</title>
|
||||||
|
<script id="route">small-town-streets.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,9 +1,11 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'eastwillamettevalley.dart';
|
import 'eastwillamettevalley.dart';
|
||||||
import 'westwillamettevalley.dart';
|
import 'westwillamettevalley.dart';
|
||||||
import 'eastcounty.dart';
|
import 'eastcounty.dart';
|
||||||
|
import 'streetareas.dart';
|
||||||
|
|
||||||
class SmallTowns extends StatefulWidget {
|
class SmallTowns extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -11,20 +13,29 @@ class SmallTowns extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _SmallTownsState extends State<SmallTowns> {
|
class _SmallTownsState extends State<SmallTowns> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","small-town-streets","/small-town-streets.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => StreetAreas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('walkable small-towns\nwith bars-restaurants'),
|
title: Text('walkable small-towns\nwith bars-restaurants'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
@ -34,20 +45,20 @@ class _SmallTownsState extends State<SmallTowns> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => EastWillametteValley()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => EastWillametteValley()));
|
||||||
},
|
},
|
||||||
child: cardOne('East Willamette Valley'),
|
child: cardOne('East Willamette Valley'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WestWillametteValley()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => WestWillametteValley()));
|
||||||
},
|
},
|
||||||
child: cardOne('West Willamette Valley'),
|
child: cardOne('West Willamette Valley'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => EastCounty()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => EastCounty()));
|
||||||
},
|
},
|
||||||
child: cardOne('East County'),
|
child: cardOne('East County'),
|
||||||
),
|
),
|
||||||
|
11
web/southwest-streets.html
Normal file
11
web/southwest-streets.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>southwest-streets</title>
|
||||||
|
<script id="route">southwest-streets.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'streetareas.dart';
|
||||||
|
|
||||||
class SouthWestStreets extends StatefulWidget {
|
class SouthWestStreets extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +10,29 @@ class SouthWestStreets extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _SouthWestStreetsState extends State<SouthWestStreets> {
|
class _SouthWestStreetsState extends State<SouthWestStreets> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","southwest-streets","/southwest-streets.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => StreetAreas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('walkable sw streets\nwith bars-restaurants'),
|
title: Text('walkable sw streets\nwith bars-restaurants'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/stjohns-streets.html
Normal file
11
web/stjohns-streets.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>stjohns-streets</title>
|
||||||
|
<script id="route">stjohns-streets.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'streetareas.dart';
|
||||||
|
|
||||||
class StJohnsStreets extends StatefulWidget {
|
class StJohnsStreets extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +10,29 @@ class StJohnsStreets extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _StJohnsStreetsState extends State<StJohnsStreets> {
|
class _StJohnsStreetsState extends State<StJohnsStreets> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","stjohns-streets","/stjohns-streets.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => StreetAreas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('walkable stjohns streets\nwith bars-restaurants'),
|
title: Text('walkable stjohns streets\nwith bars-restaurants'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'middlesoutheaststreets.dart';
|
import 'middlesoutheaststreets.dart';
|
||||||
import 'northeaststreets.dart';
|
import 'northeaststreets.dart';
|
||||||
@ -9,6 +10,7 @@ import 'sellwoodstreets.dart';
|
|||||||
import 'smalltowns.dart';
|
import 'smalltowns.dart';
|
||||||
import 'southwest.dart';
|
import 'southwest.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'concisepdx.dart';
|
||||||
|
|
||||||
class StreetAreas extends StatefulWidget {
|
class StreetAreas extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -16,10 +18,24 @@ class StreetAreas extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _StreetAreasState extends State<StreetAreas> {
|
class _StreetAreasState extends State<StreetAreas> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","walkable-street-areas","/walkable-street-areas.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ConcisePDX()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
'walkable-street-areas\nwith bars-restaurants',
|
'walkable-street-areas\nwith bars-restaurants',
|
||||||
),
|
),
|
||||||
@ -33,50 +49,50 @@ class _StreetAreasState extends State<StreetAreas> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => MiddleSouthEastStreets()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => MiddleSouthEastStreets()));
|
||||||
},
|
},
|
||||||
child: cardOne('Middle SouthEast'),
|
child: cardOne('Middle SouthEast'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => SellwoodStreets()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => SellwoodStreets()));
|
||||||
},
|
},
|
||||||
child: cardOne('Sellwood'),
|
child: cardOne('Sellwood'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => NorthEastStreets()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => NorthEastStreets()));
|
||||||
},
|
},
|
||||||
child: cardOne('NorthEast'),
|
child: cardOne('NorthEast'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => NorthStreets()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => NorthStreets()));
|
||||||
},
|
},
|
||||||
child: cardOne('North'),
|
child: cardOne('North'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => StJohnsStreets()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => StJohnsStreets()));
|
||||||
},
|
},
|
||||||
child: cardOne('St John\'s'),
|
child: cardOne('St John\'s'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => NorthWestStreets()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => NorthWestStreets()));
|
||||||
},
|
},
|
||||||
child: cardOne('NorthWest'),
|
child: cardOne('NorthWest'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => SouthWestStreets()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => SouthWestStreets()));
|
||||||
},
|
},
|
||||||
child: cardOne('SouthWest'),
|
child: cardOne('SouthWest'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => SmallTowns()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => SmallTowns()));
|
||||||
},
|
},
|
||||||
child: cardOne('Small Towns in the Area'),
|
child: cardOne('Small Towns in the Area'),
|
||||||
),
|
),
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'faqs.dart';
|
||||||
|
|
||||||
class TriMet extends StatefulWidget {
|
class TriMet extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,6 +10,10 @@ class TriMet extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _TriMetState extends State<TriMet> {
|
class _TriMetState extends State<TriMet> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","trimet","/trimet.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
|
||||||
@ -20,16 +26,21 @@ class _TriMetState extends State<TriMet> {
|
|||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Faqs()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('trimet'),
|
title: Text('trimet'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/trimet.html
Normal file
11
web/trimet.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>trimet</title>
|
||||||
|
<script id="route">trimet.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'vistas.dart';
|
||||||
|
|
||||||
class VistaDrives extends StatefulWidget {
|
class VistaDrives extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +11,29 @@ class VistaDrives extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _VistaDrivesState extends State<VistaDrives> {
|
class _VistaDrivesState extends State<VistaDrives> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","driveable-vistas","/driveable-vistas.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('driveable vistas'),
|
title: Text('driveable vistas'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'vistas.dart';
|
||||||
|
|
||||||
class VistaHikes extends StatefulWidget {
|
class VistaHikes extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +11,29 @@ class VistaHikes extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _VistaHikesState extends State<VistaHikes> {
|
class _VistaHikesState extends State<VistaHikes> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","hikeable-vistas","/hikeable-vistas.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('hikeable vistas'),
|
title: Text('hikeable vistas'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/vistas-and-overlooks.html
Normal file
11
web/vistas-and-overlooks.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>vistas-and-overlooks</title>
|
||||||
|
<script id="route">vistas-and-overlooks.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/vistas-ne-pdx.html
Normal file
11
web/vistas-ne-pdx.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>vistas-ne-pdx</title>
|
||||||
|
<script id="route">vistas-ne-pdx.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/vistas-north-pdx.html
Normal file
11
web/vistas-north-pdx.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>vistas-north-pdx</title>
|
||||||
|
<script id="route">vistas-north-pdx.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/vistas-se-pdx.html
Normal file
11
web/vistas-se-pdx.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>vistas-se-pdx</title>
|
||||||
|
<script id="route">vistas-se-pdx.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -4,13 +4,15 @@ import 'card_templates.dart';
|
|||||||
import 'vistadrives.dart';
|
import 'vistadrives.dart';
|
||||||
import 'vistawalks.dart';
|
import 'vistawalks.dart';
|
||||||
import 'vistahikes.dart';
|
import 'vistahikes.dart';
|
||||||
|
import 'gorgevistas.dart';
|
||||||
|
import 'remotevistas.dart';
|
||||||
import 'vistasnorthpdx.dart';
|
import 'vistasnorthpdx.dart';
|
||||||
import 'vistasnortheastpdx.dart';
|
import 'vistasnortheastpdx.dart';
|
||||||
import 'vistassoutheastpdx.dart';
|
import 'vistassoutheastpdx.dart';
|
||||||
import 'greshamvistas.dart';
|
import 'greshamvistas.dart';
|
||||||
import 'oregoncityvistas.dart';
|
import 'oregoncityvistas.dart';
|
||||||
import 'remotevistas.dart';
|
import 'concisepdx.dart';
|
||||||
import 'gorgevistas.dart';
|
import 'dart:html' as html;
|
||||||
|
|
||||||
class Vistas extends StatefulWidget {
|
class Vistas extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -18,12 +20,26 @@ class Vistas extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _VistasState extends State<Vistas> {
|
class _VistasState extends State<Vistas> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","vistas-and-overlooks","/vistas-and-overlooks.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ConcisePDX()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
'walkable-street-areas\nwith bars-restaurants',
|
'vistas-and-overlooks',
|
||||||
),
|
),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
@ -35,62 +51,62 @@ class _VistasState extends State<Vistas> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => VistaDrives()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => VistaDrives()));
|
||||||
},
|
},
|
||||||
child: cardOne('Drive to the Top'),
|
child: cardOne('Drive to the Top'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => VistaWalks()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => VistaWalks()));
|
||||||
},
|
},
|
||||||
child: cardOne('Walk to the Top'),
|
child: cardOne('Walk to the Top'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => VistaHikes()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => VistaHikes()));
|
||||||
},
|
},
|
||||||
child: cardOne('A Real Hike to the Top'),
|
child: cardOne('A Real Hike to the Top'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => GorgeVistas()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => GorgeVistas()));
|
||||||
},
|
},
|
||||||
child: cardOne('Gorge'),
|
child: cardOne('Gorge'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => RemoteVistas()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => RemoteVistas()));
|
||||||
},
|
},
|
||||||
child: cardOne('Remote'),
|
child: cardOne('Remote'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => VistasNorthPDX()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => VistasNorthPDX()));
|
||||||
},
|
},
|
||||||
child: cardOne('North Portland'),
|
child: cardOne('North Portland'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => VistasNorthEastPDX()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => VistasNorthEastPDX()));
|
||||||
},
|
},
|
||||||
child: cardOne('NE Portland'),
|
child: cardOne('NE Portland'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => VistasSouthEastPDX()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => VistasSouthEastPDX()));
|
||||||
},
|
},
|
||||||
child: cardOne('SE Portland'),
|
child: cardOne('SE Portland'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => GreshamVistas()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => GreshamVistas()));
|
||||||
},
|
},
|
||||||
child: cardOne('Gresham'),
|
child: cardOne('Gresham'),
|
||||||
),
|
),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => OregonCityVistas()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => OregonCityVistas()));
|
||||||
},
|
},
|
||||||
child: cardOne('Oregon City'),
|
child: cardOne('Oregon City'),
|
||||||
),
|
),
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'vistas.dart';
|
||||||
|
|
||||||
class VistasNorthEastPDX extends StatefulWidget {
|
class VistasNorthEastPDX extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +11,29 @@ class VistasNorthEastPDX extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _VistasNorthEastPDXState extends State<VistasNorthEastPDX> {
|
class _VistasNorthEastPDXState extends State<VistasNorthEastPDX> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","vistas-ne-pdx","/vistas-ne-pdx.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('ne-pdx-vistas'),
|
title: Text('ne-pdx-vistas'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'vistas.dart';
|
||||||
|
|
||||||
class VistasNorthPDX extends StatefulWidget {
|
class VistasNorthPDX extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +11,29 @@ class VistasNorthPDX extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _VistasNorthPDXState extends State<VistasNorthPDX> {
|
class _VistasNorthPDXState extends State<VistasNorthPDX> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","vistas-north-pdx","/vistas-north-pdx.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('north-pdx-vistas'),
|
title: Text('north-pdx-vistas'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'vistas.dart';
|
||||||
|
|
||||||
class VistasSouthEastPDX extends StatefulWidget {
|
class VistasSouthEastPDX extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +11,29 @@ class VistasSouthEastPDX extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _VistasSouthEastPDXState extends State<VistasSouthEastPDX> {
|
class _VistasSouthEastPDXState extends State<VistasSouthEastPDX> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","vistas-se-pdx","/vistas-se-pdx.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('se-pdx-vistas'),
|
title: Text('se-pdx-vistas'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
|
import 'vistas.dart';
|
||||||
|
|
||||||
class VistaWalks extends StatefulWidget {
|
class VistaWalks extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +11,29 @@ class VistaWalks extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _VistaWalksState extends State<VistaWalks> {
|
class _VistaWalksState extends State<VistaWalks> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","walkable-vistas","/walkable-vistas.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Vistas()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('walkable vistas'),
|
title: Text('walkable vistas'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
11
web/walkable-street-areas.html
Normal file
11
web/walkable-street-areas.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>walkable-street-areas</title>
|
||||||
|
<script id="route">walkable-street-areas.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/walkable-vistas.html
Normal file
11
web/walkable-vistas.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>walkable-vistas</title>
|
||||||
|
<script id="route">walkable-vistas.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/washington-hiking.html
Normal file
11
web/washington-hiking.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>washington-hiking</title>
|
||||||
|
<script id="route">washington-hiking.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/washington-park.html
Normal file
11
web/washington-park.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>washington-park</title>
|
||||||
|
<script id="route">washington-park.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/washington-state.html
Normal file
11
web/washington-state.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>washington-state</title>
|
||||||
|
<script id="route">washington-state.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'washingtonstate.dart';
|
||||||
|
|
||||||
class WashingtonHiking extends StatefulWidget {
|
class WashingtonHiking extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +10,29 @@ class WashingtonHiking extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _WashingtonHikingState extends State<WashingtonHiking> {
|
class _WashingtonHikingState extends State<WashingtonHiking> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","washington-hiking","/washington-hiking.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => WashingtonState()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('washington-hiking'),
|
title: Text('washington-hiking'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'northweststreetssights.dart';
|
||||||
|
import 'attractions.dart';
|
||||||
|
|
||||||
class WashingtonPark extends StatefulWidget {
|
class WashingtonPark extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,6 +12,10 @@ class WashingtonPark extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _WashingtonParkState extends State<WashingtonPark> {
|
class _WashingtonParkState extends State<WashingtonPark> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","washington-park","/washington-park.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
@ -16,12 +24,7 @@ class _WashingtonParkState extends State<WashingtonPark> {
|
|||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
@ -35,6 +38,18 @@ class _WashingtonParkState extends State<WashingtonPark> {
|
|||||||
roseGarden(),
|
roseGarden(),
|
||||||
hoytArboretum(),
|
hoytArboretum(),
|
||||||
pittockMansion(),
|
pittockMansion(),
|
||||||
|
InkWell(
|
||||||
|
onTap: (){
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => NorthWestStreetsSights()));
|
||||||
|
},
|
||||||
|
child: cardOne('(Back to as long as you are in NW Portland)'),
|
||||||
|
),
|
||||||
|
InkWell(
|
||||||
|
onTap: (){
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Attractions()));
|
||||||
|
},
|
||||||
|
child: cardOne('(Back to must see and do'),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'washingtonhiking.dart';
|
import 'washingtonhiking.dart';
|
||||||
|
import 'attractions.dart';
|
||||||
|
|
||||||
class WashingtonState extends StatefulWidget {
|
class WashingtonState extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -10,21 +12,29 @@ class WashingtonState extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _WashingtonStateState extends State<WashingtonState> {
|
class _WashingtonStateState extends State<WashingtonState> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","washington-state","/washington-state.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Attractions()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('WashingtonState'),
|
title: Text('WashingtonState'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
@ -39,8 +49,8 @@ class _WashingtonStateState extends State<WashingtonState> {
|
|||||||
hanfordReachNationalMonument(),
|
hanfordReachNationalMonument(),
|
||||||
channeledScablands(),
|
channeledScablands(),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: (){
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WashingtonHiking()));
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => WashingtonHiking()));
|
||||||
},
|
},
|
||||||
child: cardOne('Hiking in Washington State.'),
|
child: cardOne('Hiking in Washington State.'),
|
||||||
),
|
),
|
||||||
|
11
web/west-willamette-valley-sights.html
Normal file
11
web/west-willamette-valley-sights.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>west-willamette-valley-sights</title>
|
||||||
|
<script id="route">west-willamette-valley-sights.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
11
web/west-willamette-valley.html
Normal file
11
web/west-willamette-valley.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>west-willamette-valley</title>
|
||||||
|
<script id="route">west-willamette-valley.html</script>
|
||||||
|
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'smalltowns.dart';
|
||||||
|
|
||||||
class WestWillametteValley extends StatefulWidget {
|
class WestWillametteValley extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -8,20 +10,29 @@ class WestWillametteValley extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _WestWillametteValleyState extends State<WestWillametteValley> {
|
class _WestWillametteValleyState extends State<WestWillametteValley> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","west-willamette-valley","/west-willamette-valley.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text('walkable small-towns\nwith bars-restaurants'),
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => SmallTowns()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
|
title: Text('west willamette valley'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'dart:html' as html;
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'prebuildcards.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
import 'attractions.dart';
|
||||||
|
|
||||||
class WestWillametteValleySights extends StatefulWidget {
|
class WestWillametteValleySights extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -9,6 +11,10 @@ class WestWillametteValleySights extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _WestWillametteValleySightsState extends State<WestWillametteValleySights> {
|
class _WestWillametteValleySightsState extends State<WestWillametteValleySights> {
|
||||||
|
void initState() {
|
||||||
|
html.window.history.pushState("","west-willamette-valley-sights","/west-willamette-valley-sights.html");
|
||||||
|
super.initState();
|
||||||
|
}
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
String _wineTastingString = 'Newberg-Dundee is Oregon\'s biggest wine tasting region.';
|
String _wineTastingString = 'Newberg-Dundee is Oregon\'s biggest wine tasting region.';
|
||||||
@ -16,16 +22,21 @@ class _WestWillametteValleySightsState extends State<WestWillametteValleySights>
|
|||||||
_wineTastingString += ' of drunk jerks in Newberg at 1 or 2 am.';
|
_wineTastingString += ' of drunk jerks in Newberg at 1 or 2 am.';
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: Builder(
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return IconButton(
|
||||||
|
icon: Icon(Icons.arrow_back),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Attractions()));
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
),
|
||||||
title: Text('west willamette valley sights'),
|
title: Text('west willamette valley sights'),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: navy,
|
backgroundColor: navy,
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
Home(context),
|
||||||
icon: Icon(Icons.home),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
backgroundColor: peacockBlue,
|
backgroundColor: peacockBlue,
|
||||||
|
Loading…
Reference in New Issue
Block a user