onWidgetReady property
Runs when the camera is ready to be used. This happens not only once when the widget is created but also when the app returns to foreground and user pops to camera page from another page, if ScanbotCamera.scanbotSdkRouteObserver
is registered
Implementation
final Function(ScanbotCameraController controller) onWidgetReady;