concise-pdx/web/washingtonpark.dart

60 lines
1.7 KiB
Dart
Raw Normal View History

2019-09-01 19:14:42 -07:00
import 'package:flutter_web/material.dart';
2019-11-04 01:21:25 -08:00
import 'dart:html' as html;
2019-09-01 19:14:42 -07:00
import 'defaults.dart';
import 'prebuildcards.dart';
2019-11-04 01:21:25 -08:00
import 'card_templates.dart';
import 'northweststreetssights.dart';
import 'attractions.dart';
2019-09-01 19:14:42 -07:00
class WashingtonPark extends StatefulWidget {
@override
_WashingtonParkState createState() => _WashingtonParkState();
}
class _WashingtonParkState extends State<WashingtonPark> {
2019-11-04 01:21:25 -08:00
void initState() {
html.window.history.pushState("","washington-park","/washington-park.html");
super.initState();
}
2019-09-01 19:14:42 -07:00
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('washingtonpark'),
centerTitle: true,
backgroundColor: navy,
actions: <Widget>[
2019-11-04 01:21:25 -08:00
Home(context),
2019-09-01 19:14:42 -07:00
],
),
backgroundColor: peacockBlue,
2019-09-03 11:56:53 -07:00
body: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
oregonZoo(),
japaneseGarden(),
roseGarden(),
hoytArboretum(),
pittockMansion(),
2019-11-04 01:21:25 -08:00
InkWell(
onTap: (){
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => NorthWestStreetsSights()));
},
child: cardOne('(Back to as long as you are in NW Portland)'),
),
InkWell(
onTap: (){
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => Attractions()));
},
2019-11-04 01:28:01 -08:00
child: cardOne('(Back to must see and do)'),
2019-11-04 01:21:25 -08:00
),
2019-09-03 11:56:53 -07:00
],
),
),
2019-09-01 19:14:42 -07:00
),
);
}
}