concise-pdx/web/vistadrives.dart

58 lines
1.5 KiB
Dart
Raw Normal View History

2019-08-30 13:05:00 -07:00
import 'package:flutter_web/material.dart';
import 'defaults.dart';
import 'prebuildcards.dart';
2019-11-04 01:21:25 -08:00
import 'card_templates.dart';
import 'dart:html' as html;
import 'vistas.dart';
2019-08-30 13:05:00 -07:00
class VistaDrives extends StatefulWidget {
@override
_VistaDrivesState createState() => _VistaDrivesState();
}
class _VistaDrivesState extends State<VistaDrives> {
2019-11-04 01:21:25 -08:00
void initState() {
html.window.history.pushState("","driveable-vistas","/driveable-vistas.html");
super.initState();
}
2019-08-30 13:05:00 -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) => Vistas()));
},
);
}
),
2019-08-30 13:05:00 -07:00
title: Text('driveable vistas'),
centerTitle: true,
backgroundColor: navy,
actions: <Widget>[
2019-11-04 01:21:25 -08:00
Home(context),
2019-08-30 13:05:00 -07:00
],
),
backgroundColor: peacockBlue,
body: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
waudBluff(),
rockyButteDrive(),
hoganButte(),
willametteFallsViewPoint(),
2019-08-30 13:05:00 -07:00
womensForum(),
crownPoint(),
],
),
),
),
);
}
}