Installation

To install the Flutter SDK plugin, the following section must be added to the pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter

  ottu_flutter_checkout:
    # To use ottu_flutter_checkout SDK from a local source, uncomment the line below 
    # and comment out the three lines specifying the Git repository.
    # path: ../ottu_flutter_checkout

    git:
      url: https://github.com/ottuco/ottu-flutter.git
      ref: main

And then run flutter pub get command in the terminal.

If the development is being done on Windows or Linux, and iOS support is not required, you need to adjust the following line, Access it here, in the pubspec.yaml file, by replacing the ref value 2.1.10 with release-no-ios.

Then, run the following two commands: flutter clean flutter pub get

Minimum Requirements

The SDK can be used on devices running Android 8 (Android SDK 26) or higher.

Minimum Requirements

The SDK can be used on devices running iOS 15 or higher.

Last updated