chore: remove unused files

This commit is contained in:
Rongjian Zhang 2022-10-08 01:05:51 +08:00
parent 7bd412eb2b
commit fbb524a7de
3 changed files with 0 additions and 108 deletions

View File

@ -1,69 +0,0 @@
// import 'package:flutter/widgets.dart';
// import 'package:git_touch/models/theme.dart';
// import 'package:git_touch/scaffolds/single.dart';
// import 'package:git_touch/widgets/app_bar_title.dart';
// import 'package:git_touch/widgets/table_view.dart';
// import 'package:launch_review/launch_review.dart';
// import 'package:package_info/package_info.dart';
// import 'package:provider/provider.dart';
// /// Unused
// class AboutScreen extends StatefulWidget {
// @override
// State<AboutScreen> createState() => _AboutScreenState();
// }
// class _AboutScreenState extends State<AboutScreen> {
// var _version = '';
// @override
// void initState() {
// super.initState();
// PackageInfo.fromPlatform().then((info) {
// setState(() {
// _version = info.version;
// });
// });
// }
// @override
// Widget build(BuildContext context) {
// final theme = Provider.of<ThemeModel>(context);
// return SingleScaffold(
// title: AppBarTitle('About'),
// body: Column(
// children: <Widget>[
// SizedBox(height: 32),
// ClipRRect(
// borderRadius: BorderRadius.circular(24),
// child: Image.asset(
// 'images/icon.png',
// width: 96,
// ),
// ),
// SizedBox(height: 12),
// Text(
// 'GitTouch',
// style: TextStyle(fontSize: 20, color: AntTheme.of(context).text),
// ),
// SizedBox(height: 48),
// AntList(items: [
// AntListItem(text: Text('Version'), rightWidget: Text(_version)),
// AntListItem(text: Text('Source Code'), url: '/pd4d10/git-touch'),
// AntListItem(
// text: Text('Feedback'), url: '/pd4d10/git-touch/issues/new'),
// AntListItem(
// text: Text('Rate This App'),
// onTap: () {
// LaunchReview.launch(
// androidAppId: 'io.github.pd4d10.gittouch',
// iOSAppId: '1452042346',
// );
// },
// ),
// ]),
// ],
// ),
// );
// }
// }

View File

@ -1,25 +0,0 @@
// import 'package:flutter/widgets.dart';
// import 'package:git_touch/models/theme.dart';
// import 'package:git_touch/scaffolds/common.dart';
// import 'package:photo_view/photo_view.dart';
// import 'package:provider/provider.dart';
// class ImageViewScreen extends StatelessWidget {
// final String url;
// final Widget title;
// ImageViewScreen(this.url, {this.title = const Text('Image')});
// @override
// Widget build(BuildContext context) {
// final theme = Provider.of<ThemeModel>(context);
// return CommonScaffold(
// title: title,
// body: PhotoView(
// imageProvider: NetworkImage(url),
// backgroundDecoration: BoxDecoration(color: AntTheme.of(context).background),
// ),
// );
// }
// }

View File

@ -1,14 +0,0 @@
import 'package:flutter/widgets.dart';
import 'package:flutter_gen/gen_l10n/S.dart';
import 'package:git_touch/scaffolds/single.dart';
import 'package:git_touch/widgets/app_bar_title.dart';
class NotFoundScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SingleScaffold(
title: AppBarTitle(AppLocalizations.of(context)!.notFoundMessage),
body: Text(AppLocalizations.of(context)!.notFoundTextDisplay),
);
}
}