https://github.com/DavBfr/dart_pdf/tree/master/printing/example/lib

Problem is here.

  
image: const fw.NetworkImage('https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&s=200'),  

Change to

  
import 'package:flutter/painting.dart' as fp;  

find this and change

  
image: new fp.AssetImage("images/a123.png"),  

OK~