Skip to content

wellington-brito/league

Repository files navigation

League

A Flutter basic aplication to practice dart language. This application will be connect to Riot's (riot games) API to get list of all champions of league of legends and show details in the screen. And verify if some summoner in this current match have played before matchs with you.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

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

v0.0.1 ✔️

Static List

this version is showing list from hardcode array;

v0.0.2 ✔️

Connect to riot's API.

this version will get a json list from riot's API.

v0.0.3 ✔️

Data and json objects.

this version will manipulate json list and convert to objects and.

v0.0.4 ✔️

For this version i'm going to do implement shared preferences for summoner data of user of app.

Removed champion's count from toolbar. 'late' error by call of _apiResponse.
Error late initialization _responseApi. Estudar mais sobre controle de estado e future.
Late initialization solved whit future functions and state management
Navigation.push to second screen for search summoner. Changed main.dart to start app with screen to search other summoner.

v0.0.5 ✔️

I want to search in my history matches if another player was played with me.
Changes in design layout of app.

get list with the last five matchesId of summoner in sharedPref. (user of app).
get list history matches in acording of matchId verify in the list if 'other summoner' was played with me by 'puuid'.
changes layout theme color and validation on inputs.
getting matchesId from history matches of summoner and searching in the matchesTimeline for identificate matches that the summoners play with me.

Gif 1: get players from api
Gif 2: other summoner ALREADY played with you in last 5 matches
Gif 3: other summoner NOT ALREADY played with you in last 5 matches


Next Steps 📋

Do refactor code.
Learn about state control with Provider
Learn about automated testing.
For this version i'm going to do some tests to learn about automated testing in flutter aplication.
StorageData and assets.

Content that i'am following to do this project can be finded in:

Main Troubles

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published