> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moca.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Flutter installation

> Install the AIR Kit Flutter SDK via OnePub, configure minimum platform versions for iOS and Android, and add it to your pubspec.yaml.

## Prerequisites

* Flutter SDK and Dart toolchain on your PATH
* OnePub access (credentials provided by Moca)
* Android: `compileSdk` 34+, `minSdk` 26+ (see [Android setup](/airkit/flutter/android-setup))
* iOS: platform 14.0+ in `Podfile` (see [iOS setup](/airkit/flutter/ios-setup))

## OnePub CLI

```bash theme={null}
dart pub global activate onepub
onepub login
```

<Warning>
  If `onepub` is not found, add Pub’s global bin directory to your PATH, for example: `export PATH=$PATH:$HOME/.pub-cache/bin`
</Warning>

## Add the dependency

**Option A — `pubspec.yaml`**

```yaml theme={null}
dependencies:
  airkit:
    hosted: https://onepub.dev/api/sxhddavuhn/
    version: ^1.6.0-beta.1
```

Use the version your team recommends; check [Release notes](/airkit/release-notes) for current Flutter SDK versions.

**Option B — CLI**

```bash theme={null}
onepub pub add airkit
```

Then run:

```bash theme={null}
flutter pub get
```

## Import

```dart theme={null}
import 'package:airkit/airkit.dart';
```

## Next steps

1. [Android setup](/airkit/flutter/android-setup) — asset statements, manifest, network security
2. [iOS setup](/airkit/flutter/ios-setup) — associated domains, `Podfile`
3. [Initialization](/airkit/usage/initialization) — `AirService` and `navigatorKey`
4. [Google Sign-In](/airkit/flutter/google-signin) if you use Google login
