If you simlpy want to print text to the console you can use print(‘Text’) . But if you want to access the advanced fatures of the DevTools console you need to use the Console class from dart:html : Console. log(‘Text’) . It supports printing on different levels (info, warn, error, debug).
Read moreHow do I print a PDF flutter?
To print the pdf file, use this package. await FlutterPdfPrinter. printFile(file. path); 11 Şub 2020
Read moreHow do I connect my printer to flutter?
Installing
Read more