concise-pdx/web/attractions.dart
2019-09-03 11:56:53 -07:00

53 lines
1.5 KiB
Dart

import 'package:flutter_web/material.dart';
import 'defaults.dart';
import 'prebuildcards.dart';
import 'card_templates.dart';
import 'washingtonpark.dart';
import 'mounthood.dart';
class Attractions extends StatefulWidget {
@override
_AttractionsState createState() => _AttractionsState();
}
class _AttractionsState extends State<Attractions> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(
'attractions',
),
centerTitle: true,
backgroundColor: navy,
),
backgroundColor: peacockBlue,
body: SingleChildScrollView(
child: Container(
padding: EdgeInsets.only(bottom: 6.0,),
child: Column(
children: <Widget>[
columbiaGorge(),
multnomahFalls(),
mountSaintHelens(),
oregonCoast(),
InkWell(
onTap: () async {
await Navigator.push(context, MaterialPageRoute(builder: (context) => MountHood()));
},
child: cardOne('Camp, Hike, or Sight-See on Mt Hood.'),
),
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.'),
),
],
),
),
),
);
}
}