concise-pdx/web/middlesoutheaststreets.dart

59 lines
2.2 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';
import 'prebuildcards.dart';
2019-11-04 01:21:25 -08:00
import 'streetareas.dart';
2019-08-30 13:05:00 -07:00
class MiddleSouthEastStreets extends StatefulWidget {
@override
_MiddleSouthEastStreetsState createState() => _MiddleSouthEastStreetsState();
}
class _MiddleSouthEastStreetsState extends State<MiddleSouthEastStreets> {
2019-11-04 01:21:25 -08:00
void initState() {
html.window.history.pushState("","middle-southeast-streets","/middle-se-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 middle se 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>[
2019-09-01 14:04:49 -07:00
mtTabor(),
2019-09-01 13:00:11 -07:00
cardTwo('NE Glisan from 22nd to 30th','https://www.google.com/maps/@45.5265333,-122.6390832,18z','glisan'),
cardTwo('East Burnside from Grand Ave to 32nd','https://www.google.com/maps/@45.5229846,-122.6464803,16z','burnside'),
cardTwo('SE Morrison-Belmont from Grand Ave to 11th','https://www.google.com/maps/@45.5168686,-122.6573149,18z','morrison-belmont'),
cardTwo('SE Belmont from 23rd to 47th','https://www.google.com/maps/@45.5164842,-122.6281218,16z','belmont'),
cardTwo('SE Hawthorne from 9th to 49th','https://www.google.com/maps/@45.5119538,-122.6358274,15z','hawthorne'),
cardTwo('SE Division between 10th and 50th','https://www.google.com/maps/@45.5047459,-122.634429,15z','division'),
2019-08-30 13:05:00 -07:00
],
),
),
),
);
}
}