Skip to main content

Classic UI | Flutter Document Scanner

Our Classic UI Components allow you to build your own flexible and fully customizable UI components. These building blocks are easy to integrate and customize and can be used in your own Widgets to implement scanning functionalities.

Classic UI components require more effort during integration compared to Ready-to-Use UI Components, but allow you to fully customize the UI and its behavior.

Integration of Document Scanner Classic Components

Use the DocumentScannerCamera class to build a custom scanner UI for document scanning. The DocumentScannerCamera component manages document scanning results, errors, and contour detection directly within the widget.

Required: Permission Validation

The DocumentScannerCamera component does not automatically handle camera permissions. Ensure that your application requests and secures the necessary camera permissions to enable scanning functionality.

Quick Start Guide

Here's how you can integrate DocumentScannerCamera:

DocumentScannerCamera Classic Component
loading...

Classic UI configuration classes overview

This section includes properties that control the appearance and behavior. Below is a brief overview:

DocumentScannerCamera

DocumentCameraConfiguration

ContourConfiguration

For a fully functional example, please see our example app scanbot-sdk-example-flutter on GitHub.

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get free trial license