mirror of
https://github.com/TrentSPalmer/concise-pdx.git
synced 2024-11-14 02:51:29 -08:00
83 lines
2.7 KiB
Dart
83 lines
2.7 KiB
Dart
import 'package:flutter_web/material.dart';
|
|
import 'defaults.dart';
|
|
import 'middlesoutheaststreets.dart';
|
|
import 'northeaststreets.dart';
|
|
import 'northweststreets.dart';
|
|
import 'northstreets.dart';
|
|
import 'stjohnsstreets.dart';
|
|
import 'sellwoodstreets.dart';
|
|
import 'smalltowns.dart';
|
|
import 'card_templates.dart';
|
|
|
|
class StreetAreas extends StatefulWidget {
|
|
@override
|
|
_StreetAreasState createState() => _StreetAreasState();
|
|
}
|
|
|
|
class _StreetAreasState extends State<StreetAreas> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
title: Text(
|
|
'walkable-street-areas\nwith bars-restaurants',
|
|
),
|
|
centerTitle: true,
|
|
backgroundColor: navy,
|
|
),
|
|
backgroundColor: peacockBlue,
|
|
body: SingleChildScrollView(
|
|
child: Container(
|
|
padding: EdgeInsets.only(bottom: 6.0,),
|
|
child: Column(
|
|
children: <Widget>[
|
|
InkWell(
|
|
onTap: () async {
|
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => MiddleSouthEastStreets()));
|
|
},
|
|
child: cardOne('Middle SouthEast'),
|
|
),
|
|
InkWell(
|
|
onTap: () async {
|
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => SellwoodStreets()));
|
|
},
|
|
child: cardOne('Sellwood'),
|
|
),
|
|
InkWell(
|
|
onTap: () async {
|
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => NorthEastStreets()));
|
|
},
|
|
child: cardOne('NorthEast'),
|
|
),
|
|
InkWell(
|
|
onTap: () async {
|
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => NorthStreets()));
|
|
},
|
|
child: cardOne('North'),
|
|
),
|
|
InkWell(
|
|
onTap: () async {
|
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => StJohnsStreets()));
|
|
},
|
|
child: cardOne('St John\'s'),
|
|
),
|
|
InkWell(
|
|
onTap: () async {
|
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => NorthWestStreets()));
|
|
},
|
|
child: cardOne('NorthWest'),
|
|
),
|
|
InkWell(
|
|
onTap: () async {
|
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => SmallTowns()));
|
|
},
|
|
child: cardOne('Small Towns in the Area'),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|