Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: update dependencies and refactor code for improved performance…#136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
berhili098 wants to merge2 commits intoJideGuru:master
base:master
Choose a base branch
Loading
fromberhili098:chore---update-project-resources-and-dependencies

Conversation

@berhili098
Copy link

This pull request includes several updates across different parts of the codebase, focusing on refactoring and improvements in the notifier classes, database configuration, and routing. The most important changes are summarized below:

Notifier Updates:

  • Updated hash generation forCurrentAppThemeNotifier,DownloadsNotifier,FavoritesNotifier, andBookDetailsNotifier to new values.[1][2][3][4]
  • Modifiedignore_for_file comments to include additional lint rules incurrent_app_theme_notifier.g.dart,downloads_notifier.g.dart, andfavorites_notifier.g.dart.[1][2][3]

Database Configuration:

  • Removed the unused importpackage:sembast/sembast.dart fromdatabase_config.dart.
  • Refactored theinit method inDatabaseConfig to improve readability.

Routing Adjustments:

  • Refactored theAppRouter class to extendRootStackRouter and updated the generated routes inapp_router.gr.dart.[1][2][3][4][5]

UI Improvements:

  • Simplified string replacement logic infileName getter indownload_alert.dart.
  • RefactoredcreateFile method for better readability indownload_alert.dart.
  • UpdatedonPopInvoked method toonPopInvokedWithResult indownload_alert.dart.
  • Adjusted background color assignment indownload_alert.dart for better code clarity.

Other Changes:

  • Changed the return type ofbuild method inBookDetailsNotifier toFutureOr<CategoryFeed>.
  • Refactored the constructor ofBookDetailsNotifierProvider for improved initialization.

… and compatibility- Updated various package versions in `pubspec.yaml` and `pubspec.lock`, including `auto_route`, `permission_handler`, `share_plus`, and others.- Refactored notifier classes for better structure and readability.- Adjusted UI components to align with the latest Flutter material theme changes.- Minor code cleanups and optimizations across multiple files, including database configuration and router setup.- Ensured compatibility with Flutter SDK version updates.
- Removed generated files for various notifiers and router classes to reduce clutter and improve maintainability.- Updated .gitignore to exclude additional generated Dart files and the pubspec.lock file.- Ensured that the project structure aligns with best practices for generated code management.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@berhili098

[8]ページ先頭

©2009-2025 Movatter.jp