concise-pdx/web/sellwoodstreets.dart

68 lines
2.6 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 'streetareas.dart';
2019-08-30 13:05:00 -07:00
class SellwoodStreets extends StatefulWidget {
@override
_SellwoodStreetsState createState() => _SellwoodStreetsState();
}
class _SellwoodStreetsState extends State<SellwoodStreets> {
2019-11-04 01:21:25 -08:00
void initState() {
html.window.history.pushState("","sellwood-streets","/sellwood-streets.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) => StreetAreas()));
},
);
}
),
2019-08-30 13:05:00 -07:00
title: Text('walkable sellwood streets\nwith bars-restaurants'),
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://www.portlandoregon.gov/parks/finder/index.cfm?&action=ViewPark&propertyid=27',
'crystal-springs-rhododendron-garden',
'This area of town is convenient for Crystal Springs Rhododendron Garden',
'https://www.google.com/maps/@45.479722,-122.635556,17z',
'crystal-springs-rhododendron-garden-map'
),
convenienceCardOne(
'https://www.alltrails.com/trail/us/oregon/springwater-on-the-wilamette-north-woodland-and-bluff-trail-loop',
'springwater-on-the-willamette-trail',
'This area of town is near the Springwater on the Willamette Trail',
'https://www.google.com/maps/@45.4762318,-122.6616333,16z',
'springwater-on-the-willamette-trail-map'
),
2019-09-01 14:04:49 -07:00
cardTwo('SE Woodstock from 42nd to 50th','https://www.google.com/maps/@45.4791687,-122.6158324,18z','woodstock'),
2019-09-11 16:52:45 -07:00
cardTwo('SE Milwaukie from Tolman to Knapp','https://www.google.com/maps/@45.4741145,-122.6483169,17z','milwaukie'),
2019-09-01 14:04:49 -07:00
cardTwo('SE 13th from Umatilla to Malden','https://www.google.com/maps/@45.4662368,-122.6532889,17z','13th'),
2019-08-30 13:05:00 -07:00
],
),
),
),
);
}
}