kakzaki / blue_thermal_printer

Working with thermal printer via bluetooth (Flutter)
MIT License
166 stars 211 forks source link

Something error? #88

Closed sabsab-yeng closed 3 years ago

sabsab-yeng commented 3 years ago

../../flutter/.pub-cache/hosted/pub.dartlang.org/blue_thermal_printer-1.1.3/lib/blue_thermal_printer.dart:37:7: Error: The argument type 'Future? Function(MethodCall)?' can't be assigned to the parameter type 'Future Function(MethodCall)?' because 'Future?' is nullable and 'Future' isn't.

giullianocht commented 3 years ago

Here the solution https://github.com/kakzaki/blue_thermal_printer/pull/79