/flutter_meow

A use case project working with flutter + mobx + modular

Primary LanguageDart

flutter_meow

A flutter meow project made for use case tests.

Used Versions

  • Flutter 2.6.0-0.0.pre • channel dev
  • Slidy 3.2.2+1

GIFs API reference

https://developers.giphy.com/docs/api/endpoint#random

Getting Started

This project is a starting point for a Flutter application. Created with slidy (https://pub.dev/packages/slidy)

Mobx build

This project uses mobx codegen and needs some runners to create *.g.dart files to best perfomance and usability stuffs.

When you modify a controller/service/store, (using slidy)you need to run slidy run mobb or slidy run mobd (force recreate files).

If you don't use slidy package, you can run flutter clean, flutter pub get and flutter pub run build_runner to generate *.g.dart scripts.

Runing application

flutter run or debug using an IDE like Visual Studio Code, JetBrains or Android Studio.

Features

  • Custom Loader (Served Widget like a plugin)
  • Interceptor treatment
  • Secure Environment variables
  • Handler and Models
  • Use of repository
  • Static util class

CUSTOM SETTINGS

Change/create a .env file on application root with base variables. Model:

BASE_URL=https://api.giphy.com/v1/gifs/
API_KEY=0UTRbFtkMxAplrohufYco5IY74U8hOes