小白求助!我知道如何插入图片,但是不知道怎么在body下有CustomPaint的情况下插入
Widget build(BuildContext context) {
return new MaterialApp (home: new Scaffold
(
backgroundColor: Colors.deepPurpleAccent,
body:
CustomPaint(
painter: MyPainter(),
),
)
);
}
}