github_colour library
Receive latest commit of ozh's github-colors to Flutter's Color.
Classes
- GitHubColour
- A class for getting GitHub language colour.
- GitHubColourThrowable
-
As a Java's
Throwable
roles which uses for implementing Exception and Error in this package.
Typedefs
- GitHubColor = GitHubColour
- Alias type for repersenting "colour" in American English which does exactly same with GitHubColour.
- LanguageUndefinedHandler = Color Function()
- A handler when no language data found in GitHubColour.
Exceptions / Errors
- GitHubColourCacheChecksumMismatchedError
- An Error when detected the cache file has been modified when getting online resource failed.
- GitHubColourHTTPLoadFailedError
- An Error thrown when response unsuccessfully and no cache can be used.
- GitHubColourLoadFailedError
- An Error that can not fetch GitHubColour data.
- GitHubColourNoAvailableResourceError
- An Error thrown when no resources available to initalize GitHubColour.
- UndefinedLanguageColourError
- An Error when no colour data of the language.