Nerd For Tech
Published in

Nerd For Tech

Custom Painter In Flutter

A widget that provides a canvas on which to draw during the painting phase

  • size: This Custom Painter's size is initially equal to, which means that if no child or size is defined, it will not appear.
  • Foreground Painter: The painter who paints after the children. Also it takes a class that extends the class Custom Painter.
  • child: The widget below this widget tree.
canvas.drawPoints(PointMode.points, points, paint1);



NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shirsh Shukla

Mobile Application Developer | GDG Speaker | Technical Blogger at medium | community member at StackOverflow | Organizer @FlutterIndore