mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-17 05:43:41 +00:00
feat: ui improvement
flutter 3.7 compatibility responsive view beautiful progress bar select file in treeview downlading and downloaded page
This commit is contained in:
1 parent
a875a9258e
commit
9b1ed15fea
28 files changed
+932
-439
No files matched your search
@@ -5,6 +5,7 @@ import 'package:get/get.dart';
|
||||
import '../../i18n/messages.dart';
|
||||
import '../../routes/router.dart';
|
||||
import '../../theme/theme.dart';
|
||||
import '../home/home_controller.dart';
|
||||
import 'app_controller.dart';
|
||||
|
||||
class AppView extends GetView<AppController> {
|
||||
@@ -14,6 +15,10 @@ class AppView extends GetView<AppController> {
|
||||
Widget build(BuildContext context) {
|
||||
final config = controller.downloaderConfig.value;
|
||||
return GetMaterialApp.router(
|
||||
initialBinding: BindingsBuilder(() {
|
||||
Get.lazyPut<HomeController>(() => HomeController(), fenix: true);
|
||||
}),
|
||||
useInheritedMediaQuery: true,
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: GopeedTheme.light,
|
||||
darkTheme: GopeedTheme.dark,
|
||||
|
||||
Reference in new issue
Block a user