Skip to content

A sample Flutter project demonstrating how to create a data layer implementing the Repository Pattern.

License

Notifications You must be signed in to change notification settings

svprdga/Flutter-Data-Layer-Repository-Pattern-V2

Repository files navigation

Data layer in Flutter V2

This is the sample project for a video and article related on how to implement the Repository Pattern to keep a local copy of the fetched data from a remote API.

You can find the text version of the tutorial here.

You can find the video version of the tutorial on Youtube and Odysee.

How to execute this sample project

If you try to execute this sample just after cloning it, it will fail. To fix it, create a file lib/data.dart with the API key obtained from here:

const apiKey = 'YOUR API KEY HERE';

Build entities

flutter pub run build_runner build

About

A sample Flutter project demonstrating how to create a data layer implementing the Repository Pattern.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published