github_colour 3.2.0 copy "github_colour: ^3.2.0" to clipboard
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 to sembast_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 replace sha3 and hex
    • If encounter hashing mismatch error, please clean cache and launch again.
  • All deprecated API removed
  • Update color.json
  • getInstance becomes deprecated and uses initialize instead.

2.0.0+1 #

  • Fix document

2.0.0 #

  • GitHubColour implemented with ColorSwatch and UnmodifiableMapBase now.
    • Serval old API deprecated.
  • Required Dart 2.17.0 with Flutter 3.0.0
  • (GitHub) Upload entire example project source code.
  • Update last resort color.json to e358b0a.

1.2.6 #

  • Remove implement Error in GitHubColourThrowable.

1.2.5 #

  • Remove external in GitHubColourThrowable.

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.

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 of GitHubColour.
  • Allows get all data in GitHubColour to ColorSwatch.
  • 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
1
likes
0
pub points
0%
popularity

Publisher

verified publisherrk0cc.xyz

Receive ozh's GitHub colour to Flutter's colour implementation with caching and fallback.

Repository (GitHub)
View/report issues

Topics

#color #colour

License

unknown (license)

Dependencies

flutter, hashlib, http, lzma, meta, path, path_provider, sembast, sembast_web

More

Packages that depend on github_colour