Flutter SDK

Integrate smallcase Gateway Flutter SDK to allow your users to transact in stocks, ETFs & smallcases, and much more

Get started with the Flutter SDK:

  1. Include the dependency in pubspec.yaml file.
  2. Configure the AndroidManifest.xml file to receive Transaction responses.
  3. Initialize the SDK with relevant user data & config.
  4. Set up an endpoint on your backend to create new transactionId.
  5. Hit the endpoint and get transactionId
  6. Call the triggerTransaction method of the SDK with the transactionId
  7. Receive order response once the transaction completes

There are flows where transactionId is not required. In such cases, directly call the relevant SDK methods. For example - broker account opening flow.

SDK Updates

smallcase Gateway periodically releases SDK updates, including new functionality, enhancements, bug fixes, and security updates. Most of the time, changes are non-breaking updates. The host app will need to manually update the SDK version.

Requirements

Platform SDK version Flutter Version Dart Version
Flutter 1.4.0 >=2.2.2 >=2.15.1
Platform Xcode compatibility Min Deployment Target Supported Architectures
iOS 14.x 11 x86_64
Platform Gradle Min SDK Version Compile SDK Version
Android 6.7.1 Android 5.0 (API Level 21) 29

Next steps

Learn how to integrate the Flutter SDK