Closed SamadDev closed 2 years ago
await SunmiPrinter.printText(name,style: SunmiStyle());
The function 'SunmiStyle' isn't defined. (Documentation) Try importing the library that defines 'SunmiStyle', correcting the name to the name of an existing function, or defining a function named 'SunmiStyle'.
did u import the import 'package:sunmi_printer_plus/sunmi_style.dart'; ?
Ididn't see any wher to import,thanks
await SunmiPrinter.printText(name,style: SunmiStyle());
The function 'SunmiStyle' isn't defined. (Documentation) Try importing the library that defines 'SunmiStyle', correcting the name to the name of an existing function, or defining a function named 'SunmiStyle'.