2019-08-31 11:21:42 -07:00
|
|
|
import 'package:flutter_web/material.dart';
|
|
|
|
import 'defaults.dart';
|
|
|
|
import 'card_templates.dart';
|
2019-11-04 01:21:25 -08:00
|
|
|
import 'concisepdx.dart';
|
|
|
|
import 'dart:html' as html;
|
2019-08-31 11:21:42 -07:00
|
|
|
|
|
|
|
class FeedBack extends StatefulWidget {
|
|
|
|
@override
|
|
|
|
_FeedBackState createState() => _FeedBackState();
|
|
|
|
}
|
|
|
|
|
|
|
|
class _FeedBackState extends State<FeedBack> {
|
2019-11-04 01:21:25 -08:00
|
|
|
void initState() {
|
|
|
|
html.window.history.pushState("","feedback-and-source","/feedback-and-source.html");
|
|
|
|
super.initState();
|
|
|
|
}
|
2019-08-31 11:21:42 -07:00
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
|
|
|
return Scaffold(
|
|
|
|
appBar: AppBar(
|
2019-11-04 01:21:25 -08:00
|
|
|
leading: Builder(
|
|
|
|
builder: (BuildContext context) {
|
|
|
|
return IconButton(
|
|
|
|
icon: Icon(Icons.arrow_back),
|
|
|
|
onPressed: () {
|
|
|
|
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ConcisePDX()));
|
|
|
|
},
|
|
|
|
);
|
|
|
|
}
|
|
|
|
),
|
2019-08-31 12:11:39 -07:00
|
|
|
title: Text('feedback'),
|
2019-08-31 11:21:42 -07:00
|
|
|
centerTitle: true,
|
|
|
|
backgroundColor: navy,
|
|
|
|
),
|
|
|
|
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'),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|