concise-pdx/web/eastwillamettevalleysights.dart

61 lines
1.8 KiB
Dart
Raw Normal View History

2019-09-04 11:56:46 -07:00
import 'package:flutter_web/material.dart';
2019-11-04 01:21:25 -08:00
import 'dart:html' as html;
2019-09-04 11:56:46 -07:00
import 'defaults.dart';
import 'prebuildcards.dart';
import 'card_templates.dart';
2019-11-04 01:21:25 -08:00
import 'attractions.dart';
2019-09-04 11:56:46 -07:00
class EastWillametteValleySights extends StatefulWidget {
@override
_EastWillametteValleySightsState createState() => _EastWillametteValleySightsState();
}
class _EastWillametteValleySightsState extends State<EastWillametteValleySights> {
2019-11-04 01:21:25 -08:00
void initState() {
html.window.history.pushState("","east-willamette-valley-sights","/east-willamette-valley-sights.html");
super.initState();
}
2019-09-04 11:56:46 -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) => Attractions()));
},
);
}
),
2019-09-04 11:56:46 -07:00
title: Text('east willamette valley sights'),
centerTitle: true,
backgroundColor: navy,
actions: <Widget>[
2019-11-04 01:21:25 -08:00
Home(context),
2019-09-04 11:56:46 -07:00
],
),
backgroundColor: peacockBlue,
body: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
silverFalls(),
oregonGarden(),
convenienceCardOne(
'https://oregonstateparks.org/index.cfm?do=parkPage.dsp_parkPage&parkId=151',
'silver-falls',
'Camp at Silver Falls State Park Oregon',
'https://www.google.com/maps/@44.87752,-122.65513,15z',
'silver-falls-map'
),
],
),
),
),
);
}
}