mirror of
https://github.com/TrentSPalmer/concise-pdx.git
synced 2024-11-24 21:41:31 -08:00
add feedback.dart
This commit is contained in:
parent
5cc5f01dab
commit
23306616ae
@ -5,6 +5,7 @@ import 'vistas.dart';
|
|||||||
import 'faqs.dart';
|
import 'faqs.dart';
|
||||||
import 'hikes.dart';
|
import 'hikes.dart';
|
||||||
import 'attractions.dart';
|
import 'attractions.dart';
|
||||||
|
import 'feedback.dart';
|
||||||
import 'card_templates.dart';
|
import 'card_templates.dart';
|
||||||
|
|
||||||
void main() => runApp(MainApp());
|
void main() => runApp(MainApp());
|
||||||
@ -73,7 +74,12 @@ class _ConcisePDXState extends State<ConcisePDX> {
|
|||||||
},
|
},
|
||||||
child: cardOne('FAQ\'s'),
|
child: cardOne('FAQ\'s'),
|
||||||
),
|
),
|
||||||
cardOne('Feedback and Source'),
|
InkWell(
|
||||||
|
onTap: () async {
|
||||||
|
await Navigator.push(context, MaterialPageRoute(builder: (context) => FeedBack()));
|
||||||
|
},
|
||||||
|
child: cardOne('Feedback and Source'),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
43
web/feedback.dart
Normal file
43
web/feedback.dart
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
import 'package:flutter_web/material.dart';
|
||||||
|
import 'defaults.dart';
|
||||||
|
import 'card_templates.dart';
|
||||||
|
|
||||||
|
class FeedBack extends StatefulWidget {
|
||||||
|
@override
|
||||||
|
_FeedBackState createState() => _FeedBackState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _FeedBackState extends State<FeedBack> {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
|
||||||
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Text('trimet'),
|
||||||
|
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>[
|
||||||
|
infoCard('concise-pdx.com source on GitHub','https://github.com/TrentSPalmer/concise-pdx','a'),
|
||||||
|
infoCard('Twitter','https://twitter.com/boringtrent','b'),
|
||||||
|
infoCard('FaceBook','https://www.facebook.com/trentspalmer','c'),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user