github_contributions

build pub

A library to get GitHub users' contributions information, for Dart and Flutter developers

Usage

main() async {
  var login = 'pd4d10'; // replace this with GitHub account you want

  // get svg string
  String svg = await getContributionsSvg(login, withoutText: true);
  print(svg);

  // get color and count of this year's contribution
  var contributions = await getContributions(login);
  print(contributions[0].color);
}

License

MIT

Libraries

github_contributions
Support for doing something awesome. [...]