concise-pdx/web/northstreets.dart

58 lines
1.8 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 'prebuildcards.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 NorthStreets extends StatefulWidget {
@override
_NorthStreetsState createState() => _NorthStreetsState();
}
class _NorthStreetsState extends State<NorthStreets> {
2019-11-04 01:21:25 -08:00
void initState() {
html.window.history.pushState("","north-streets","/north-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 north 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
modaCenter(),
waudBluff(),
peninsulaPark(),
2019-09-11 16:52:45 -07:00
cardTwo('N Williams from Cook to Skidmore','https://www.google.com/maps/@45.55075,-122.6666716,16z','williams'),
cardTwo('N Mississippi from Fremont to Alberta','https://www.google.com/maps/@45.5526726,-122.6752348,16z','mississippi'),
cardTwo('N Denver from Schofield to Interstate','https://www.google.com/maps/@45.5827784,-122.687082,18z','north lombard'),
2019-08-30 13:05:00 -07:00
],
),
),
),
);
}
}