Flutter SDK
The Omise Flutter SDK enables you to build secure payment integrations for both iOS and Android platforms with a single codebase. Built with Dart, it provides a unified API for tokenizing cards, creating payment sources, and handling all major payment methods in Southeast Asia.
Overview
The Flutter SDK enables you to:
- Write once, deploy everywhere - Single codebase for iOS and Android
- Tokenize credit cards securely without sensitive data touching your servers
- Create payment sources for alternative payment methods
- Implement native UI with Flutter widgets
- サポート async operations with Dart's Future and Stream APIs
- Handle errors gracefully with comprehensive exception handling
Key Features
- Cross-platform support (iOS 12+, Android 5.0+)
- Null-safe Dart API
- Future-based async operations
- Stream support for real-time updates
- Built-in input validation
- Type-safe request/response models
- Platform-specific features handled automatically
- Hot reload support for rapid development
要件
- Flutter 2.0 or later
- Dart 2.12 or later (null safety)
- iOS 12.0+ or Android API Level 21+
- Xcode 13.0+ (for iOS)
- Android Studio Arctic Fox+ (for Android)
インストール
Add to pubspec.yaml
dependencies:
omise_flutter: ^4.0.0
Install Package
flutter pub add omise_flutter
Or manually:
flutter pub get