Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 907 Bytes

File metadata and controls

17 lines (9 loc) · 907 Bytes

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