How to print a receipt to bluetooth printer in flutter?

Posted by Andre Scott | Updated on

Want to print a receipt to bluetooth printer in flutter? Bluetooth API is a platform-specific API, so you should use Platform Channel in Flutter to deal with those APIs in the separate platform (Android and iOS). In a word, Platform Channel supports you communicate between Dart module and native module (android and ios)

From Dart module, user triggers an action of printing something, Dart module will send a message to the native module to request printing action, native module calls some specific APIs of OS to do it and when it’s done, the native module sends back the result to Dart module to show the result to user.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers