segmentify_flutter_sdk 0.1.2 segmentify_flutter_sdk: ^0.1.2 copied to clipboard
Segmentify Flutter SDK.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add segmentify_flutter_sdk
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
segmentify_flutter_sdk: ^0.1.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:segmentify_flutter_sdk/constants/api_errors.dart';
import 'package:segmentify_flutter_sdk/constants/app_constants.dart';
import 'package:segmentify_flutter_sdk/constants/logger.dart';
import 'package:segmentify_flutter_sdk/constants/push.dart';
import 'package:segmentify_flutter_sdk/constants/request.dart';
import 'package:segmentify_flutter_sdk/enums/Currency.enum.dart';
import 'package:segmentify_flutter_sdk/enums/DeviceOs.enum.dart';
import 'package:segmentify_flutter_sdk/enums/Language.enum.dart';
import 'package:segmentify_flutter_sdk/enums/LogLevels.enum.dart';
import 'package:segmentify_flutter_sdk/main.dart';
import 'package:segmentify_flutter_sdk/models/basket_operation.model.dart';
import 'package:segmentify_flutter_sdk/models/checkout_operation.model.dart';
import 'package:segmentify_flutter_sdk/models/custom_event.model.dart';
import 'package:segmentify_flutter_sdk/models/event_types.dart';
import 'package:segmentify_flutter_sdk/models/interaction.model.dart';
import 'package:segmentify_flutter_sdk/models/page_view.model.dart';
import 'package:segmentify_flutter_sdk/models/product_view.model.dart';
import 'package:segmentify_flutter_sdk/models/search.model.dart';
import 'package:segmentify_flutter_sdk/models/user_operation.model.dart';
import 'package:segmentify_flutter_sdk/requests/api_getaway.dart';
import 'package:segmentify_flutter_sdk/requests/events/basket_operation.dart';
import 'package:segmentify_flutter_sdk/requests/events/checkout_operation.dart';
import 'package:segmentify_flutter_sdk/requests/events/custom_event.dart';
import 'package:segmentify_flutter_sdk/requests/events/events.barrel.dart';
import 'package:segmentify_flutter_sdk/requests/events/interaction.dart';
import 'package:segmentify_flutter_sdk/requests/events/page_view.dart';
import 'package:segmentify_flutter_sdk/requests/events/product_view.dart';
import 'package:segmentify_flutter_sdk/requests/events/push_events.dart';
import 'package:segmentify_flutter_sdk/requests/events/search.dart';
import 'package:segmentify_flutter_sdk/requests/events/user_operation.dart';
import 'package:segmentify_flutter_sdk/requests/push_service.dart';
import 'package:segmentify_flutter_sdk/requests/request.dart';
import 'package:segmentify_flutter_sdk/utils/account_config_getter.dart';
import 'package:segmentify_flutter_sdk/utils/get_common_params.dart';
import 'package:segmentify_flutter_sdk/utils/handle_device_information.dart';
import 'package:segmentify_flutter_sdk/utils/handle_user.dart';
import 'package:segmentify_flutter_sdk/utils/logger.dart';
import 'package:segmentify_flutter_sdk/utils/show_push_notification.dart';
import 'package:segmentify_flutter_sdk/utils/storage.dart';