concise-pdx/web/northweststreets.dart

59 lines
2.0 KiB
Dart

import 'package:flutter_web/material.dart';
import 'defaults.dart';
import 'card_templates.dart';
import 'prebuildcards.dart';
class NorthWestStreets extends StatefulWidget {
@override
_NorthWestStreetsState createState() => _NorthWestStreetsState();
}
class _NorthWestStreetsState extends State<NorthWestStreets> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('walkable northwest 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: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
macleayParkPittockMansion(),
convenienceCardOne(
'https://en.wikipedia.org/wiki/Washington_Park_(Portland,_Oregon)',
'washington-park',
'This area of town is convenient for the Zoo, Rose Garden, and Japanese Garden',
'https://www.google.com/maps/@45.515833,-122.7075,15z',
'washington-park-map'
),
convenienceCardOne(
'https://en.wikipedia.org/wiki/Providence_Park',
'providence-park',
'This area of town is convenient for a football, baseball, or soccer game at Providence park',
'https://www.google.com/maps/@45.521389,-122.691667,17z',
'providence-park-map'
),
cardTwo('Vaughn','https://example.com','vaughn'),
cardTwo('NW 23rd','https://example.com','23rd'),
cardTwo('NW 21st','https://example.com','21st'),
],
),
),
),
);
}
}