Skip to content
A fully working boilerplate sample Flutter app implementation.
Dart Ruby Other
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Sample (#2) Sep 8, 2019
android Add network call, network validation, signup, login, and others settings Sep 2, 2019
ios Upgrade to Flutter 1.10.7+ (#9) Nov 13, 2019
lib Upgrade to Flutter 1.10.7+ (#9) Nov 13, 2019
screenshots Demo video. Oct 31, 2019
test
vendor Sample (#2) Sep 8, 2019
.gitignore Sample (#2) Sep 8, 2019
.gitmodules Sample (#2) Sep 8, 2019
.metadata flutter create Aug 29, 2019
LICENSE Create LICENSE Sep 8, 2019
README.md Upgrade to Flutter 1.10.7+ (#9) Nov 13, 2019
analysis_options.yaml Add dependency injection, handle errors, and vscode settings Aug 30, 2019
inject_generator.build.yaml Add network call, network validation, signup, login, and others settings Sep 2, 2019
pubspec.lock
pubspec.yaml Upgrade to Flutter 1.10.7+ (#9) Nov 13, 2019

README.md

Cíngulo Flutter Sample

Check out a short demo video here.
Check out some screenshots here.

A fully working sample Flutter app implementation. Give this repo a Star if you like it :)

  • Layers separation (data, domain, logic, ui)
  • Network calls and very simple caching and concurrency mechanism
  • Generic error handling
  • Forms validation
  • Generic bloc structure
  • RxDart
  • Dependency injection
  • Authentication with JWT and daily renewal
  • Themes
  • Multiple languages
  • Named routes
  • Named routes with parameters
  • Names routes with simple permission control
  • Analytics and pushes skeleton
  • We have published the API so that you can test the app
  • Looks good but... it is still missing tests (TODO) :(

Dependency Injection

This project uses google/inject.dart. You will have to clone it under vendor/inject.dart:

    $ cd <repository-root>
    $ git clone https://github.com/google/inject.dart.git vendor/inject.dart

Edit vendor/inject.dart/package/inject_generator/pubspec.yaml and under dependencies set analyzer: ^0.36.4 so that it will work with Flutter 1.10.7+

Use the command below to build the dependency injection:

    $ flutter packages pub run build_runner build --delete-conflicting-outputs
  • Done, you should now be good to run the app.

API Docs

Open the docs URL in your browser. You can also check the API GitHub repository.

You can’t perform that action at this time.