Consider using `ThemeExtensions`
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by locating the existing theme, color, typography, and build-context extension setup, then read Flutter's ThemeExtension API and the linked example. Done means the theme values are managed through ThemeExtensions and remain available through context.colors and context.typography.
Written by the indexing model from the issue text.
Description
Theme extensions is a cool way of managing colors, typography etc. We can still make it available via build context extensions like this:
final colors = context.colors;
final typography = context.typography;
Video: https://youtu.be/8-szcYzFVao
API: https://api.flutter.dev/flutter/material/ThemeExtension-class.html
- Dominant language
- Dart
- Stars
- 37
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
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.
More from ml-opensource/flutter-template
-
ml-opensource/flutter-template#123 · 1 assignee ·
-
TBD
ml-opensource/flutter-template#120 · 1 assignee ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
ml-opensource/flutter-template#113 · 1 comment · 2 reactions ·
-
Setup `retrofit` Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
ml-opensource/flutter-template#83 · 2 comments ·
All issues in ml-opensource/flutter-template
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
code quality good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Suwayomi/Suwayomi-Tsumiru#479 ·
-
Build Failure: agora_rtc_engine compiled against android-31 while dependencies require android-34+ Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
conceptadev/noir#95 ·