concise-pdx/web/chinesejapanesegardens.dart

49 lines
1.4 KiB
Dart

import 'package:flutter_web/material.dart';
import 'defaults.dart';
import 'card_templates.dart';
import 'prebuildcards.dart';
class ChineseJapaneseGardens extends StatefulWidget {
@override
_ChineseJapaneseGardensState createState() => _ChineseJapaneseGardensState();
}
class _ChineseJapaneseGardensState extends State<ChineseJapaneseGardens> {
@override
Widget build(BuildContext context) {
String _answer = 'The Chinese Garden is a small garden in China Town that will take up maybe an hour of your time.';
_answer += ' Whereas, Japanese Garden is part of the Washington Park complex, which has many attractions,';
_answer += ' and is a destination itself.';
return Scaffold(
appBar: AppBar(
title: Text('chinese-japanese-gardens'),
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>[
cardThree(_answer),
japaneseGarden(),
chineseGarden(),
],
),
),
),
);
}
}