chore: run dart format
Some checks are pending
Flutter CI & Release / Test (push) Waiting to run
Flutter CI & Release / Build Android APKs (push) Blocked by required conditions
Flutter CI & Release / build_linux (push) Blocked by required conditions
Flutter CI & Release / Create GitHub Release (push) Blocked by required conditions

This commit is contained in:
Dr.Blank 2026-01-10 16:51:05 +05:30
parent a520136e01
commit e23c0b6c5f
No known key found for this signature in database
GPG key ID: BA5F87FF0560C57B
84 changed files with 1565 additions and 1945 deletions

View file

@ -3,14 +3,8 @@
part of 'router.dart';
class Routes {
static const home = _SimpleRoute(
pathName: '',
name: 'home',
);
static const onboarding = _SimpleRoute(
pathName: 'login',
name: 'onboarding',
);
static const home = _SimpleRoute(pathName: '', name: 'home');
static const onboarding = _SimpleRoute(pathName: 'login', name: 'onboarding');
static const library = _SimpleRoute(
pathName: 'library',
pathParamName: 'libraryId',
@ -23,10 +17,7 @@ class Routes {
);
// Local settings
static const settings = _SimpleRoute(
pathName: 'config',
name: 'settings',
);
static const settings = _SimpleRoute(pathName: 'config', name: 'settings');
static const themeSettings = _SimpleRoute(
pathName: 'theme',
name: 'themeSettings',
@ -64,10 +55,7 @@ class Routes {
name: 'search',
// parentRoute: library,
);
static const explore = _SimpleRoute(
pathName: 'explore',
name: 'explore',
);
static const explore = _SimpleRoute(pathName: 'explore', name: 'explore');
// downloads
static const downloads = _SimpleRoute(
@ -83,10 +71,7 @@ class Routes {
);
// you page for the user
static const you = _SimpleRoute(
pathName: 'you',
name: 'you',
);
static const you = _SimpleRoute(pathName: 'you', name: 'you');
// user management
static const userManagement = _SimpleRoute(
@ -102,10 +87,7 @@ class Routes {
);
// logs page
static const logs = _SimpleRoute(
pathName: 'logs',
name: 'logs',
);
static const logs = _SimpleRoute(pathName: 'logs', name: 'logs');
}
// a class to store path