formx_sdk_flutter 1.0.4 copy "formx_sdk_flutter: ^1.0.4" to clipboard
formx_sdk_flutter: ^1.0.4 copied to clipboard

A Flutter plugin for using FormX SDK in iOS and Android applications.

formx_sdk_flutter #

Using FormX SDK within Flutter application.

Platform Support #

Android iOS MacOS Web Linux Windows
✅(SDK 26+) ✅ (iOS 14.0+)

Installation #

In the dependencies: section of your pubspec.yaml, add the following line:

dependencies:
  formx_sdk_flutter: ^1.0.2

Setup #

Android
  1. Set the minSdkVersion in android/app/build.gradle:
android {
    defaultConfig {
        minSdkVersion 26
    }
}
  1. Replace base activity with FlutterFragmentActivity
class MainActivity: FlutterFragmentActivity() {
}
iOS
  1. Update Podfile with:
target 'Runner' do

  ....skiped...

  pod 'FormX', :git => 'https://github.com/oursky/formx-sdk.git', tag: '0.3.0'

  ....skiped...
  1. Set minimum deployments to 14.0

Sample Usage #

FormXCameraView #

A native camera view to detect documents

  1. Obtain camera permission:

To use FormXCameraView, Camera permission must be granted. Recommend to use flutter plugin like permission_handler to handle it.

  1. Using FormXCameraView widget in flutter app:
Scaffold(
      body: _cameraPermissionStatus == PermissionStatus.granted
          ? FormXCameraView(
              controller: _controller,
              onClose: _onCloseCamera,
              onCaptured: _onCaptured,
              onCaptureError: _onCaptureError,
            )
      ...
)

For complete tutorial please refer to example app doc

2
likes
150
pub points
0%
popularity

Publisher

verified publisherformx.ai

A Flutter plugin for using FormX SDK in iOS and Android applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on formx_sdk_flutter