FLUTTER ECOSYSTEM

kakzaki/blue_thermal_printer

通过蓝牙(Flutter)使用热敏打印机

blue_thermal_printer 项目封面
Stars
175
Forks
318
最近推送(UTC)
2024年7月15日
项目状态
未归档
Zaki Mubarok GitHub avatar
GITHUB User

Zaki Mubarok ↗

A family man in his 30s. Hardworking, Charismatic, Reliable

语言JavaDartRubyObjective-CSwiftShell

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

blue_thermal_printer

pub package pub package

A new Flutter plugin for connecting to thermal printer via bluetooth (Android Only), this plugin is still under development Note: Migrate your project to AndroidX

Platform Support

Android iOS MacOS Web Linux Windows
✔️ ️X ️X ️X ️X ️X

Getting Started

  1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  blue_thermal_printer: ^any
  1. Install it

You can install packages from the command line:

with Flutter:

$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

  1. Import it

Now in your Dart code, you can use:

 import 'package:blue_thermal_printer/blue_thermal_printer.dart';

EXAMPLE:

For detail demonstration please look at example folder

Note: make sure to upgrade your project to compileSdkVersion 31 or above

If you like my content, please consider buying me a coffee. Thank you for your support!

Buy Me A Coffee

ko-fi

bagi yang dari Indonesia bisa lewat saweria berikut

https://saweria.co/kakzaki