mirror of
https://github.com/TrentSPalmer/concise-pdx.git
synced 2024-11-14 02:51:29 -08:00
55 lines
1.7 KiB
Dart
55 lines
1.7 KiB
Dart
import 'package:flutter_web/material.dart';
|
|
import 'defaults.dart';
|
|
import 'card_templates.dart';
|
|
import 'silverton.dart';
|
|
import 'oregoncity.dart';
|
|
|
|
class EastWillametteValley extends StatefulWidget {
|
|
@override
|
|
_EastWillametteValleyState createState() => _EastWillametteValleyState();
|
|
}
|
|
|
|
class _EastWillametteValleyState extends State<EastWillametteValley> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
title: Text('walkable small-towns\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>[
|
|
cardTwo('Downtown Mt Angel is famous for German Food','https://www.google.com/maps/@45.0696714,-122.7991836,17z','downtown-mtangel'),
|
|
InkWell(
|
|
onTap: () async {
|
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => Silverton()));
|
|
},
|
|
child: cardOne('Silverton (and sights)'),
|
|
),
|
|
InkWell(
|
|
onTap: () async {
|
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => OregonCity()));
|
|
},
|
|
child: cardOne('Oregon City (and sights)'),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|