mirror of
https://github.com/TrentSPalmer/concise-pdx.git
synced 2024-11-23 21:21:30 -08:00
add northweststreetssights.dart
This commit is contained in:
parent
da9e753199
commit
b6b4289cb1
@ -1,8 +1,7 @@
|
|||||||
import 'package:flutter_web/material.dart';
|
import 'package:flutter_web/material.dart';
|
||||||
import 'defaults.dart';
|
import 'defaults.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
import 'prebuildcards.dart';
|
import 'northweststreetssights.dart';
|
||||||
import 'washingtonpark.dart';
|
|
||||||
|
|
||||||
class NorthWestStreets extends StatefulWidget {
|
class NorthWestStreets extends StatefulWidget {
|
||||||
@override
|
@override
|
||||||
@ -32,21 +31,13 @@ class _NorthWestStreetsState extends State<NorthWestStreets> {
|
|||||||
padding: EdgeInsets.only(bottom: 6.0,),
|
padding: EdgeInsets.only(bottom: 6.0,),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
macleayParkPittockMansion(),
|
|
||||||
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('NW 23rd, Burnside to Thurman','https://www.google.com/maps/@45.5295226,-122.6984339,16z','23rd'),
|
cardTwo('NW 23rd, Burnside to Thurman','https://www.google.com/maps/@45.5295226,-122.6984339,16z','23rd'),
|
||||||
cardTwo('NW 21st, Burnside to Raleigh','https://www.google.com/maps/@45.5291143,-122.6945136,16z','21st'),
|
cardTwo('NW 21st, Burnside to Raleigh','https://www.google.com/maps/@45.5291143,-122.6945136,16z','21st'),
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (context) => WashingtonPark()));
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => NorthWestStreetsSights()));
|
||||||
},
|
},
|
||||||
child: cardOne('Visit the Zoo, Rose Garden, Hoyt Arboretum, Pittock Mansion, and Japanese Garden at WashingtonPark.'),
|
child: cardOne('As long as you\'re in NorthWest Portland.'),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
55
web/northweststreetssights.dart
Normal file
55
web/northweststreetssights.dart
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'defaults.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
import 'prebuildcards.dart';
|
||||||
|
import 'washingtonpark.dart';
|
||||||
|
|
||||||
|
class NorthWestStreetsSights extends StatefulWidget {
|
||||||
|
@override
|
||||||
|
_NorthWestStreetsSightsState createState() => _NorthWestStreetsSightsState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _NorthWestStreetsSightsState extends State<NorthWestStreetsSights> {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Text('northwest-pdx-sights'),
|
||||||
|
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/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'
|
||||||
|
),
|
||||||
|
InkWell(
|
||||||
|
onTap: () async {
|
||||||
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => WashingtonPark()));
|
||||||
|
},
|
||||||
|
child: cardOne('Visit the Zoo, Rose Garden, Hoyt Arboretum, Pittock Mansion, and Japanese Garden at WashingtonPark.'),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user