Barcode Pick View
Defined in library scandit_datacapture_barcode_pick_ui
- BarcodePickViewUiListener
abstract class BarcodePickViewUiListenerAdded in version 6.22.0
- didTapFinishButton(view)
voiddidTapFinishButton(BarcodePickView view)Added in version 6.22.0
Callback method that can be used to define an action that should be performed when the finish button is tapped from the view. Called from the main thread.
- BarcodePickView
class BarcodePickView : StatefulWidget
Added in version 6.22.0
BarcodePickView.
- BarcodePickView.forModeWithViewSettings(dataCaptureContext, barcodePick, viewSettings)
factory BarcodePickView.forModeWithViewSettings( DataCaptureContext dataCaptureContext, BarcodePick barcodePick, BarcodePickViewSettings viewSettings)
Added in version 6.22.0
Initializes a BarcodePickView
- BarcodePickView.forModeWithViewSettingsAndCameraSettings(dataCaptureContext, barcodePick, viewSettings, cameraSettings)
factory BarcodePickView.forModeWithViewSettingsAndCameraSettings( DataCaptureContext dataCaptureContext, BarcodePick barcodePick, BarcodePickViewSettings viewSettings, CameraSettings cameraSettings)
Added in version 6.22.0
Initializes a BarcodePickView
- start()
Future<
void> start()Added in version 6.22.0
Starts the camera and the scanning process. Can be stopped by calling stop().
- stop()
Future<
void> stop()Added in version 6.24.0
Pauses the camera and the scanning process. It can be started again using start().
- freeze()
Future<
void> freeze()Added in version 6.22.0
Freezes the camera and the highlights position to make the selection easier. The scanning can be started again using start().
- addActionListener(listener)
voidaddActionListener(BarcodePickActionListener listener)Added in version 6.22.0
Add a BarcodePickActionListener to the mode. User actions will be notified to the listener.
- release()
Future<
void> release()Added in version 6.22.0
Stops the camera and the scanning process. After this call the view should not be used anymore.
For instance, this method could be called in the Widget’s dispose function to release the scanning objects.
- removeActionListener(listener)
voidremoveActionListener(BarcodePickActionListener listener)Added in version 6.22.0
Removes a BarcodePickActionListener.
- uiListener
BarcodePickViewUiListener? uiListener
Added in version 6.22.0
Sets the listener which is called whenever the finish button is tapped from the view.
- addListener(listener)
voidaddListener(BarcodePickViewListener listener)Added in version 6.22.0
Add a BarcodePickViewListener to the mode. User actions will be notified to the listener.
- removeListener(listener)
voidremoveListener(BarcodePickViewListener listener)Added in version 6.22.0
Removes a BarcodePickViewListener.
- createState()
State<StatefulWidget> createState()
Added in version 6.22.0
Implemented from StatefulWidget. Called by the Flutter framework.