Skip to content

chetansj27/flutter_github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter package to get details of Github user

How to Use

To use flutter_github start by importing the package

import 'package:flutter_github/flutter_github.dart';

Get Profile Details

FlutterGithub _flutterGithub = new FlutterGithub();
await _flutterGithub.getUserData(userName);

Print User Details

print("Name: ${_flutterGithub.name}")
print("Bio: ${_flutterGithub.bio}")
print("Image: ${_flutterGithub.image}")
print("Followers: ${_flutterGithub.followers}")
print("Following: ${_flutterGithub.following}")
print("CreatedAt: ${_flutterGithub.createdAt}")
print("UpdatedAt: ${_flutterGithub.updatedAt}")
print("Public Repos: ${_flutterGithub.publicRepos}")
print("Public Gists: ${_flutterGithub.publicGists}")
print("Email: ${_flutterGithub.email}")
print("Company: ${_flutterGithub.company}")
print("Location: ${_flutterGithub.location}")

Example

See Example

Image1 Image2

Created By Chetan

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published