concise-pdx/web/southwest.dart

60 lines
2.0 KiB
Dart
Raw Normal View History

import 'package:flutter_web/material.dart';
2019-11-04 01:21:25 -08:00
import 'dart:html' as html;
import 'defaults.dart';
import 'card_templates.dart';
2019-11-04 01:21:25 -08:00
import 'streetareas.dart';
class SouthWestStreets extends StatefulWidget {
@override
_SouthWestStreetsState createState() => _SouthWestStreetsState();
}
class _SouthWestStreetsState extends State<SouthWestStreets> {
2019-11-04 01:21:25 -08:00
void initState() {
html.window.history.pushState("","southwest-streets","/southwest-streets.html");
super.initState();
}
@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()));
},
);
}
),
title: Text('walkable sw streets\nwith bars-restaurants'),
centerTitle: true,
backgroundColor: navy,
actions: <Widget>[
2019-11-04 01:21:25 -08:00
Home(context),
],
),
backgroundColor: peacockBlue,
2019-09-03 11:55:49 -07:00
body: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
convenienceCardOne(
'https://en.wikipedia.org/wiki/Willamette_Shore_Trolley',
'willamette-trolley',
'Lake Oswego is convenient for an excursion on the Willamette Shore Trolley',
2019-09-03 11:55:49 -07:00
'https://www.google.com/maps/@45.4180967,-122.6629502,20z',
'willamette-trolley-map'
),
cardTwo('Downtown Lake Oswego','https://www.google.com/maps/@45.4167125,-122.6660073,16z','lake-oswego'),
cardTwo('Capitol Highway in Multnomah Village from 31st to 38th','https://www.google.com/maps/@45.4685132,-122.7132439,18z','multnomah-village'),
2019-09-03 11:55:49 -07:00
],
),
2019-09-03 11:55:49 -07:00
),
),
);
}
}