littlefish_core 1.0.3 littlefish_core: ^1.0.3 copied to clipboard
The littlefish_core library used for common functionality in all littlefish mobile applications.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add littlefish_core
With Flutter:
$ flutter pub add littlefish_core
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
littlefish_core: ^1.0.3
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:littlefish_core/analytics/models/analytics_event.dart';
import 'package:littlefish_core/analytics/models/analytics_settings.dart';
import 'package:littlefish_core/analytics/services/analytics_service.dart';
import 'package:littlefish_core/configuration/config_service.dart';
import 'package:littlefish_core/configuration/config_settings.dart';
import 'package:littlefish_core/core/littlefish_core.dart';
import 'package:littlefish_core/core/service_factory.dart';
import 'package:littlefish_core/logging/default_logger.dart';
import 'package:littlefish_core/logging/models/logger_settings.dart';
import 'package:littlefish_core/logging/services/logger_service.dart';
import 'package:littlefish_core/monitoring/models/monitoring_http_metric.dart';
import 'package:littlefish_core/monitoring/models/monitoring_settings.dart';
import 'package:littlefish_core/monitoring/models/monitoring_trace.dart';
import 'package:littlefish_core/monitoring/services/monitoring_service.dart';
import 'package:littlefish_core/payments/models/terminal_info.dart';
import 'package:littlefish_core/payments/services/order_service.dart';
import 'package:littlefish_core/payments/services/payment_service.dart';
import 'package:littlefish_core/payments/services/terminal_service.dart';