import 'package:flutter_web/material.dart'; import 'dart:html' as html; import 'defaults.dart'; import 'card_templates.dart'; import 'prebuildcards.dart'; import 'washingtonpark.dart'; import 'northweststreets.dart'; class NorthWestStreetsSights extends StatefulWidget { @override _NorthWestStreetsSightsState createState() => _NorthWestStreetsSightsState(); } class _NorthWestStreetsSightsState extends State { void initState() { html.window.history.pushState("","northwest-streets-sights","/northwest-streets-sights.html"); super.initState(); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( leading: Builder( builder: (BuildContext context) { return IconButton( icon: Icon(Icons.arrow_back), onPressed: () { Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => NorthWestStreets())); }, ); } ), title: Text('northwest-pdx-sights'), centerTitle: true, backgroundColor: navy, actions: [ Home(context), ], ), backgroundColor: peacockBlue, body: SingleChildScrollView( child: Container( padding: EdgeInsets.only(bottom: 6.0,), child: Column( children: [ macleayParkPittockMansion(), convenienceCardOne( 'https://en.wikipedia.org/wiki/Providence_Park', 'providence-park', 'This area of town is convenient for a football, baseball, or soccer game at Providence park', 'https://www.google.com/maps/@45.521389,-122.691667,17z', 'providence-park-map' ), InkWell( onTap: (){ Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => WashingtonPark())); }, child: cardOne('Visit the Zoo, Rose Garden, Hoyt Arboretum, Pittock Mansion, and Japanese Garden at WashingtonPark.'), ), ], ), ), ), ); } }