2019-09-01 17:25:33 -07:00
|
|
|
import 'package:flutter_web/material.dart';
|
2019-11-04 01:21:25 -08:00
|
|
|
import 'dart:html' as html;
|
2019-09-01 17:25:33 -07:00
|
|
|
import 'defaults.dart';
|
|
|
|
import 'card_templates.dart';
|
2019-09-04 16:21:52 -07:00
|
|
|
import 'oregoncitysights.dart';
|
2019-11-04 01:21:25 -08:00
|
|
|
import 'eastwillamettevalley.dart';
|
2019-09-01 17:25:33 -07:00
|
|
|
|
|
|
|
class OregonCity extends StatefulWidget {
|
|
|
|
@override
|
|
|
|
_OregonCityState createState() => _OregonCityState();
|
|
|
|
}
|
|
|
|
|
|
|
|
class _OregonCityState extends State<OregonCity> {
|
2019-11-04 01:21:25 -08:00
|
|
|
void initState() {
|
|
|
|
html.window.history.pushState("","oregon-city","/oregon-city.html");
|
|
|
|
super.initState();
|
|
|
|
}
|
2019-09-01 17:25:33 -07:00
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Scaffold(
|
|
|
|
appBar: AppBar(
|
2019-11-04 01:21:25 -08:00
|
|
|
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'),
|
2019-09-01 17:25:33 -07:00
|
|
|
centerTitle: true,
|
|
|
|
backgroundColor: navy,
|
|
|
|
actions: <Widget>[
|
2019-11-04 01:21:25 -08:00
|
|
|
Home(context),
|
2019-09-01 17:25:33 -07:00
|
|
|
],
|
|
|
|
),
|
|
|
|
backgroundColor: peacockBlue,
|
|
|
|
body: SingleChildScrollView(
|
|
|
|
child: Container(
|
|
|
|
padding: EdgeInsets.only(bottom: 6.0,),
|
|
|
|
child: Column(
|
|
|
|
children: <Widget>[
|
|
|
|
cardTwo('Main St in Downtown Oregon City','https://www.google.com/maps/@45.3575898,-122.6072795,17z','main'),
|
2019-09-04 16:21:52 -07:00
|
|
|
InkWell(
|
|
|
|
onTap: () async {
|
|
|
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => OregonCitySights()));
|
|
|
|
},
|
|
|
|
child: cardOne('As long as you\'re in Oregon City.'),
|
|
|
|
),
|
2019-09-01 17:25:33 -07:00
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|