Locale switch (#200)

* Add function to set app locale

* Setting for selecting app language

- Adds requirement for "flutter_localized_locales"
- Change main app to stateless

* Reload entire app tree when language is changed

* Update release notes

* linting
This commit is contained in:
Oliver 2022-08-02 15:54:59 +10:00 committed by GitHub
parent 19ff6eb526
commit 9559b8602e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 158 additions and 1 deletions

View file

@ -21,6 +21,7 @@ dependencies:
flutter_cache_manager: ^3.3.0
flutter_localizations:
sdk: flutter
flutter_localized_locales: 2.0.3
flutter_markdown: ^0.6.9 # Rendering markdown
flutter_overlay_loader: ^2.0.0 # Overlay screen support
font_awesome_flutter: ^9.1.0 # FontAwesome icon set