Flutter SDK Installation

Include the SnapIt SDK dependency inside your mobile projects from pub.dev.

You can install the official package directly from pub.dev/packages/snapit_sdk.

Method 1: Using Flutter CLI (Recommended)

Run the following command in your Flutter project root:

flutter pub add snapit_sdk

Method 2: Manual Installation

Add the library to your project’s pubspec.yaml file under dependencies:

pubspec.yaml
dependencies:
  flutter:
    sdk: flutter
  snapit_sdk: ^1.0.0

Then fetch the dependencies in your terminal:

flutter pub get