如何知道flutter custom painter中canvas中某个点的颜色?

How to know the colour of a certain point in the canvas in flutter custom painter?

我正在制作一个绘画程序,我想知道点击某个点时的颜色

您可以使用这个包:pixel_color_picker