thermal_print 0.0.2
thermal_print: ^0.0.2 copied to clipboard
A flutter package which will help to print from thermal printer.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add thermal_printThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
thermal_print: ^0.0.2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:thermal_print/api/api_implementation/thermal_print.dart';
import 'package:thermal_print/api/print_api.dart';
import 'package:thermal_print/enums/print_font_size.dart';
import 'package:thermal_print/enums/print_style.dart';
import 'package:thermal_print/helper/esc_pos_print.dart';
import 'package:thermal_print/models/PrintItemText.dart';
import 'package:thermal_print/models/printFooter.dart';
import 'package:thermal_print/models/print_column.dart';
import 'package:thermal_print/models/print_model.dart';
import 'package:thermal_print/models/printer_model.dart';
import 'package:thermal_print/models/receipt_model.dart';
import 'package:thermal_print/prints/thermal_print_documents.dart';