Building Dart Native Extension with Dynamsoft Barcode SDK on Windows

Why Asynchronous Extension

Dart is a single-threaded programming language, similar to JavaScript. Any code with time-consuming operations will block the main Dart thread, freezing the program. The asynchronous extension runs a native function on a separate thread, scheduled by the Dart VM. Invoking third-party barcode APIs in asynchronous extension is recommended.

Building Dart Native Extension using Visual Studio 2015

Install Dart SDK and Dynamsoft Barcode Reader. Learn the sample code of native extension that included in Dart SDK repository.

Source Code



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store