Skip to content

This Flutter project allows users to fetch and display the top GitHub repositories. The main page includes a scroll button to select the number of repositories and a "fetch" button. When clicked, the app retrieves and displays the selected number of top repositories in card widgets containing their name, URL, description, and number of stargazers

Notifications You must be signed in to change notification settings

roma2023/FlutterTopRepositories

Repository files navigation

Flutter Top Repositories

This Flutter project allows users to fetch and display the top repositories from GitHub. The main page of the app includes a scroll button with the options to select the number of repositories to display (5, 10, or 15) and a "fetch" button. When the user selects a number and clicks the "fetch" button, the app will retrieve and display the selected number of top repositories in a list of card widgets, each containing the repository's name, URL, description, and number of stargazers.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Installing

1. Clone the repository:

git clone https://github.com/[USERNAME]/flutter-top-repositories.git 

2. Navigate to the project directory:

cd flutter-top-repositories 

3. Add your GitHub API key to the .env file (optional):

GITHUB_API_KEY=[YOUR_API_KEY]

4. Run the app:

flutter run

Built With

  • Flutter(- A cross-platform mobile app development framework)
  • GitHub API(- Used to retrieve data from GitHub)
  • http(- A library for making HTTP requests in Flutter)
  • dart:convert(- A library for decoding and encoding JSON in Dart)

For further help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Thank you...!

About

This Flutter project allows users to fetch and display the top GitHub repositories. The main page includes a scroll button to select the number of repositories and a "fetch" button. When clicked, the app retrieves and displays the selected number of top repositories in card widgets containing their name, URL, description, and number of stargazers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published