Skip to main content
Speed up Barcode Capture integration with Agent Skills

Install the Scandit plugin and use the /barcode-capture-flutter skill so that your AI coding agent can integrate, debug, and customize Barcode Capture on Flutter following Scandit's recommended patterns. More info →

Run the following command in your project directory. It detects the supported coding agents you have installed and adds the Scandit plugin to each. Re-run it to update.

npx plugins add scandit/skills

Prefer to set it up yourself? Manual installation steps for each agent →

Choose a Viewfinder

A viewfinder shows the user where to aim the camera. By default, the Barcode Capture overlay has no viewfinder.

Examples shown on iOS.

Check Framework Availability​

FrameworksBuilt-in viewfinders
Android, iOS, Web, Flutter, React Native, Capacitor, CordovaAimer, Rectangular, Laserline
Kotlin Multiplatform, Titanium, .NET for iOS, .NET for AndroidAimer, Rectangular
Linux (C API)None. Your application provides the scanning UI.

Restrict the Scan Area​

The viewfinder guides the user in the camera preview. To restrict the scan area, configure location selection.

For the Aimer, use radius location selection. Barcode Capture can return any barcode that intersects the circle around the point of interest. For a rectangular viewfinder, use rectangular location selection with the same dimensions as the frame.

See Radius Location Selection and Rectangular Location Selection for configuration options.

Add an Aimer to the Overlay​

After creating the overlay in Get Started, assign an Aimer to it.

overlay.viewfinder = AimerViewfinder();

See the Viewfinder API reference for the available types and their settings.