/gcl_for_flutter

Team Gehem's Common Library for Flutter.

Primary LanguageDartMIT LicenseMIT

Team Gehem's Common Library for Flutter.

This is a project containing several common codes needed to develop flutter apps.

Features

Getting started

  1. Add gcl_for_flutter to your dependencies
dependencies:
  gcl_for_flutter:
    git: https://github.com/terdong/gcl_for_flutter
  1. Call startGcl() in your main func before running the App.
void main() {
  startGcl();
  runApp(...);
}

Usage

  1. Using LoggerProvider
class Foo with LoggerProvider {
  Foo() {
    logi('this is an info log');
    logd('this is a debug log');
    loge('this is an error log');
  }
}