Skip to content

FieldAssist/fa_flutter_core

Repository files navigation

fa_flutter_core codecov

Official FA Flutter core package.

Getting Started

Add following code in pubspec.yaml file in dependencies:

  fa_flutter_core:
    git:
      url: https://github.com/FieldAssist/fa_flutter_core.git
      ref: main

Logger

To use add following line as top level variable anywhere in your project

final AppLog logger = AppLogImpl();

Debug

logger.d("debug value: $token");

Exception

logger.e(e,stacktrace); // Use StackTrace.current in case no stacktrace available

Info

logger.i("Api response: xyz");