github_colour 3.2.3
github_colour: ^3.2.3 copied to clipboard
Receive ozh's GitHub colour to Flutter's colour implementation with caching and fallback.
3.2.3 #
- Uses
fetchAPI for web
3.2.2 #
- Migrate to
package:web - Require Dart 3.3 or above
3.2.1 #
- Fix performing checksum before decompress cached colour data.
3.2.0 #
- Replace web caching storage library from
shared_preferencetosembast_webfor native Blob supported. - Apply trimmed
color.jsonwhich 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
hashlibto replacesha3andhex- If encounter hashing mismatch error, please clean cache and launch again.
- All deprecated API removed
- Update
color.json getInstancebecomes deprecated and usesinitializeinstead.
2.0.0+1 #
- Fix document
2.0.0 #
GitHubColourimplemented withColorSwatchandUnmodifiableMapBasenow.- Serval old API deprecated.
- Required Dart
2.17.0with Flutter3.0.0 - (GitHub) Upload entire example project source code.
- Update last resort
color.jsontoe358b0a.
1.2.6 #
- Remove implement
ErrorinGitHubColourThrowable.
1.2.5 #
- Remove
externalinGitHubColourThrowable.
1.2.4 #
- Change
GitHubColour's default colour from#8f8f8fto#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.jsonfor last resort if enabled offline as a last resort when create new instance ofGitHubColour. - Allows get all data in
GitHubColourtoColorSwatch. - Provides
Setwith all availabled languages name.
1.0.0 #
- Change
GitHubColours.find's fallback method. - Add
GitHubColours.containsfor 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
