A new Flutter plugin.
Check how to install
Internet Connection Check
A flutter plugin for check internet connection is active of not.
A flutter plugin for scanning 2D barcodes and QR codes.
xScan 2D barcodes
xScan QR codes
xControl the flash while scanning
For Android, you must do the following before you can use the plugin:
Add the camera permission to your AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.CAMERA" />
Now you can depend on the barcode_scan plugin in your pubspec.yaml file:
dependencies: ... ecp_sync_plugin: ^3.7.7
Click "Packages get" in Android Studio or run
flutter packages get in your project folder.
To use on iOS, you must add the the camera usage description to your Info.plist
<key>NSCameraUsageDescription</key> <string>This app requires access to the Camera.</string> <key>NSMicrophoneUsageDescription</key> <string>This app requires access to the micro phone</string> <key>NSPhotoLibraryUsageDescription</key> <string>This app requires access to the photo library.</string>
- Foreign Function Interface for interoperability with the C programming language. [...]
- HTML elements and other resources for web-based applications that need to interact with the browser and the DOM (Document Object Model). [...]
- Utility methods to efficiently manipulate typed JSInterop objects in cases where the name to call is not known at runtime. You should only use these methods when the same effect cannot be achieved with @JS annotations. These methods would be extension methods on JSObject if Dart supported extension methods.