concise-pdx/web/stjohnsstreets.dart

59 lines
1.8 KiB
Dart
Raw Permalink 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 StJohnsStreets extends StatefulWidget {
@override
_StJohnsStreetsState createState() => _StJohnsStreetsState();
}
class _StJohnsStreetsState extends State<StJohnsStreets> {
2019-11-04 01:21:25 -08:00
void initState() {
html.window.history.pushState("","stjohns-streets","/stjohns-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 stjohns 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,
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/Cathedral_Park_(Portland,_Oregon)',
'Cathedral Park',
'This area of town is convenient for a visit to Cathedral Park under the St John\'s Bridge',
'https://www.google.com/maps/@45.5883,-122.75799,17z',
'cathedral-park'
),
2019-09-11 16:52:45 -07:00
cardTwo('N Lombard from Richmond to St Louis','https://www.google.com/maps/@45.5902882,-122.7536259,17z','lombard-ivanhoe'),
2019-09-03 11:55:49 -07:00
],
2019-08-30 13:05:00 -07:00
),
2019-09-03 11:55:49 -07:00
),
2019-08-30 13:05:00 -07:00
),
);
}
}