github_colour 3.2.0 github_colour: ^3.2.0 copied to clipboard
Receive ozh's GitHub colour to Flutter's colour implementation with caching and fallback.
3.2.0 #
- Replace web caching storage library from
shared_preference
tosembast_web
for native Blob supported. - Apply trimmed
color.json
which removes unused fields. - Apply class extension scope.
3.1.0 #
- Drop Dart 2 support
- Mark some classes as immutable
- Improved source code directory layout
- Lints
3.0.0 #
- Dart 3 supported
- Uses
hashlib
to replacesha3
andhex
- If encounter hashing mismatch error, please clean cache and launch again.
- All deprecated API removed
- Update
color.json
getInstance
becomes deprecated and usesinitialize
instead.
2.0.0+1 #
- Fix document
2.0.0 #
GitHubColour
implemented withColorSwatch
andUnmodifiableMapBase
now.- Serval old API deprecated.
- Required Dart
2.17.0
with Flutter3.0.0
- (GitHub) Upload entire example project source code.
- Update last resort
color.json
toe358b0a
.
1.2.6 #
- Remove implement
Error
inGitHubColourThrowable
.
1.2.5 #
- Remove
external
inGitHubColourThrowable
.
1.2.4 #
- Change
GitHubColour
's default colour from#8f8f8f
to#f0f0f0
.
1.2.3 #
- Add generic throwable type
GitHubColourThrowable
- Exceptions arrangment.
1.2.2 #
- Exceptions arrangment.
1.2.1+1 #
- Remove unused package.
1.2.1 #
- Limit writing cache when the context is difference.
1.2.0 #
- Added SHA 3 checksum validation for cache file.
- (VM) New directory created with cache file and checksum.
- The origin cache file no longer be used.
- (Web) Store checksum in new local storage field.
- (VM) New directory created with cache file and checksum.
1.1.0+1 #
- Fix droppped web platform supported issue.
- Better documentation.
1.1.0 #
- Included
colors.json
for last resort if enabled offline as a last resort when create new instance ofGitHubColour
. - Allows get all data in
GitHubColour
toColorSwatch
. - Provides
Set
with all availabled languages name.
1.0.0 #
- Change
GitHubColours.find
's fallback method. - Add
GitHubColours.contains
for checking does this language is in the list.
0.1.0+1 #
- Expand description length, no additional function implemented in this version.
0.1.0 #
- Added caching support for backup option if making request failed.
0.0.1 #
- Initial release