bardez / flutter_meow

A use case project working with flutter + mobx + modular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A use case project working with flutter + mobx + modular


Languages

Language:Dart 76.0%Language:HTML 20.5%Language:Swift 2.1%Language:Kotlin 0.7%Language:Shell 0.6%Language:Objective-C 0.2%