mannprerak2 / mannprerak2/event_hub_flutter

Add a Dark theme

Open
#30 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement hacktoberfest
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)

  1. Adding the Dark theme
  2. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.