mannprerak2 / mannprerak2/event_hub_flutter
Add a Dark theme
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 8
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Create and utilize a Dark theme in this app.
- The dark theme should be handled via the MaterialApp widget.
- You can add the Dark theme toggle Icon in the AppBar
- Use shared preferences to save if the Dark theme was turned On/Off.
You can create 2 PR's regarding this (or do it 1 if you want to)
- Adding the Dark theme
- Saving and handling the Dark theme state using shared_preferences.
Tip: for experimenting with themes, you can use Panache.
Contributor guide
No contributing guide indexed for this repository
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
Locate the MaterialApp and AppBar entry points, then review how app state is currently managed before introducing the theme behavior. Use the shared_preferences package for persistence, and consider the two requested parts separately; done means the app can switch between light and dark themes and retains that choice across restarts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100