BirjuVachhani / adaptive_theme

Easiest way to add support for light and dark theme in your flutter app.
https://pub.dev/packages/adaptive_theme
Apache License 2.0
464 stars 37 forks source link

Feature/generic refactor #40

Closed BirjuVachhani closed 2 years ago

BirjuVachhani commented 2 years ago

Summary

This lays out ground work for supporting custom ui libraries (e.g. Fluent UI).

codecov-commenter commented 2 years ago

Codecov Report

Merging #40 (0aba9e3) into main (60b8595) will decrease coverage by 1.53%. The diff coverage is 97.50%.

@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
- Coverage   98.90%   97.36%   -1.54%     
==========================================
  Files           4        5       +1     
  Lines         183      152      -31     
==========================================
- Hits          181      148      -33     
- Misses          2        4       +2     
Impacted Files Coverage Δ
lib/src/cupertino_adaptive_theme.dart 95.23% <90.00%> (-4.77%) :arrow_down:
lib/src/adaptive_theme.dart 100.00% <100.00%> (ø)
lib/src/adaptive_theme_manager.dart 100.00% <100.00%> (ø)
lib/src/adaptive_theme_preferences.dart 96.00% <100.00%> (+0.34%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d2c5106...0aba9e3. Read the comment docs.