concise-pdx/web/westwillamettevalley.dart

60 lines
2.0 KiB
Dart
Raw Normal View History

2019-08-30 13:05:00 -07:00
import 'package:flutter_web/material.dart';
2019-11-04 01:21:25 -08:00
import 'dart:html' as html;
2019-08-30 13:05:00 -07:00
import 'defaults.dart';
import 'card_templates.dart';
2019-11-04 01:21:25 -08:00
import 'smalltowns.dart';
2019-08-30 13:05:00 -07:00
class WestWillametteValley extends StatefulWidget {
@override
_WestWillametteValleyState createState() => _WestWillametteValleyState();
}
class _WestWillametteValleyState extends State<WestWillametteValley> {
2019-11-04 01:21:25 -08:00
void initState() {
html.window.history.pushState("","west-willamette-valley","/west-willamette-valley.html");
super.initState();
}
2019-08-30 13:05:00 -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) => SmallTowns()));
},
);
}
),
title: Text('west willamette valley'),
2019-08-30 13:05:00 -07:00
centerTitle: true,
backgroundColor: navy,
actions: <Widget>[
2019-11-04 01:21:25 -08:00
Home(context),
2019-08-30 13:05:00 -07:00
],
),
backgroundColor: peacockBlue,
body: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
convenienceCardOne(
'https://en.wikipedia.org/wiki/Evergreen_Aviation_%26_Space_Museum',
'spruce-goose',
'McMinnville is convenient for the Spruce Goose and Evergreen Aviation Museum',
'https://www.google.com/maps/@45.2031571,-123.1454622,17z',
'spruce-goose-map'
),
2019-09-01 14:04:49 -07:00
cardTwo('Newberg-Dundee is a Wine-Tasting Destination','https://www.google.com/maps/@45.3007635,-122.9754037,17z','downtown-newberg'),
cardTwo('3rd St in Downtown McMinnville','https://www.google.com/maps/@45.2099371,-123.1927857,16z','downtown-mcminnville'),
2019-08-30 13:05:00 -07:00
],
),
),
),
);
}
}