concise-pdx/web/stjohnsstreets.dart

43 lines
1.3 KiB
Dart
Raw Normal View History

2019-08-30 13:05:00 -07:00
import 'package:flutter_web/material.dart';
import 'defaults.dart';
import 'card_templates.dart';
class StJohnsStreets extends StatefulWidget {
@override
_StJohnsStreetsState createState() => _StJohnsStreetsState();
}
class _StJohnsStreetsState extends State<StJohnsStreets> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('walkable stjohns streets\nwith bars-restaurants'),
centerTitle: true,
backgroundColor: navy,
actions: <Widget>[
IconButton(
icon: Icon(Icons.home),
onPressed: () {
Navigator.of(context).popUntil((route) => route.isFirst);
},
),
],
),
backgroundColor: peacockBlue,
body: Column(
children: <Widget>[
2019-09-01 12:21:10 -07:00
cardTwo('Lombard-Ivanhoe','https://example.com','lombard-ivanhoe'),
2019-08-30 13:05:00 -07:00
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'
),
],
),
);
}
}