Commit bec0754c authored by andrey's avatar andrey

added image lib to pubspec.yaml

parent 603c8483
...@@ -25,9 +25,9 @@ To scan for printers in your network, consider using [ping_discover_network](htt ...@@ -25,9 +25,9 @@ To scan for printers in your network, consider using [ping_discover_network](htt
Here are some [printers tested with this library](printers.md). Please add the models you have tested to maintain and improve this library and help others to choose the right printer. Here are some [printers tested with this library](printers.md). Please add the models you have tested to maintain and improve this library and help others to choose the right printer.
## Generate a Ticket ## Generate a Receipt
### Simple Ticket with Styles: ### Simple Receipt with Styles:
```dart ```dart
void testReceipt(NetworkPrinter printer) { void testReceipt(NetworkPrinter printer) {
...@@ -60,7 +60,7 @@ void testReceipt(NetworkPrinter printer) { ...@@ -60,7 +60,7 @@ void testReceipt(NetworkPrinter printer) {
You can find more examples here: [esc_pos_utils](https://github.com/andrey-ushakov/esc_pos_utils). You can find more examples here: [esc_pos_utils](https://github.com/andrey-ushakov/esc_pos_utils).
## Print a Ticket ## Print a Receipt
```dart ```dart
import 'package:esc_pos_printer/esc_pos_printer.dart'; import 'package:esc_pos_printer/esc_pos_printer.dart';
......
...@@ -13,6 +13,7 @@ dependencies: ...@@ -13,6 +13,7 @@ dependencies:
# esc_pos_utils: # esc_pos_utils:
# path: ../esc_pos_utils # path: ../esc_pos_utils
charset_converter: ^1.0.3 charset_converter: ^1.0.3
image: ^2.1.4
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment