nslogx / nslogx/flutter_easyloading
add background color according to theme
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1.3k
- Forks
- 249
- PR merge metrics
- No merged PRs in 30d
Description
As Flutter new release of 2.5 flutter interduce skeleton template by using following command
flutter create -t skeleton <app_name>
in this template user can be able to change theme of app. so I want then EasyLoading will also change maskColor like if app is in dark Theme then maskColor will be white with some opacity else black with some opacity.
but when I tried by using
Theme.of(context).brightness (with if statement)
then it only check at start time and when I change theme in app then nothing change with EasyLoading.
even after I call configLoading() when ever theme change but not working.
So My Suggestion is please use maskColor with light and dark theme as now with configLoading()
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Flutter 2.5 skeleton template and the configLoading() call, then trace how Theme.of(context).brightness is read. Done means EasyLoading's maskColor updates when the app theme changes, using the requested light and dark opacity behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100