github_colors 0.0.4 copy "github_colors: ^0.0.4" to clipboard
github_colors: ^0.0.4 copied to clipboard

outdated

A package for convert github language to color.

github_colors #

A Dart package for developers to covert languages colors in Github.

Usage #

Open your pubspec.yaml and add the following dependency.

dependencies:
  github_colors: 0.0.1  #latest version
import 'package:github_colors/github_colors.dart';

main() async {
  String hex = await GithubColors.covert('JavaScript');
  print(hex); // #f1e05a
}

If Github update languages, run the following command in the terminal to fetch the latest infomation.

pub global run github_colors:main

Example #

Author #

github_colors © linrz, Released under the MIT License.
Authored and maintained by linrz.

github.com/linrz · GitHub @linrz · Twitter @linrzPro


2019 © linrz

0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A package for convert github language to color.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

dio, path, yaml

More

Packages that depend on github_colors