kakzaki / blue_thermal_printer

Working with thermal printer via bluetooth (Flutter)
MIT License
164 stars 205 forks source link

Fix for #70 (MethodCall) => Null' is not a subtype of type '((MethodCall) => Future<dynamic>) #79

Closed maurovanetti closed 3 years ago

maurovanetti commented 3 years ago

I've just fixed the default constructor for sound null safety as suggested by https://github.com/kakzaki/blue_thermal_printer/issues/70#issuecomment-813293797 This avoids both run-time and compile-time errors and works in a real environment.

kakzaki commented 3 years ago

hi thanks

renanzdm commented 3 years ago

i have the same error still

edsulaiman commented 3 years ago

@kakzaki bro did you forget to push the fixed version to pub.dev?

solomonprinceps commented 2 years ago

This error is still live on pub.dev