How to build a custom shape button in Flutter? Here’s how to do it using a custom painter!
❤ Follow on Social media 😎 :
Facebook – https://www.facebook.com/codingislove/
Twitter – https://twitter.com/codingislove
Instagram – https://instagram.com/codingislove
❤ Reference links :
Source code – https://gist.github.com/codingislove01/45b7726b5a8e9713f3600592ba264b1b
CustomPainter – https://api.flutter.dev/flutter/rendering/CustomPainter-class.html
CustomPaint – https://api.flutter.dev/flutter/widgets/CustomPaint-class.html
Subscribe and leave a like if you liked the video 😋 Good content deserves more subscribers 👏🏻
If you have any questions or feedback then please comment below!
❤ Chapters
Curved button design – 0:00
Container – 0:05
CustomPaint – 0:17
CustomPainter – 0:22
GitHub copilot in action – 0:31
Drawing the shape – 0:52
Curving the shape – 1:06
Send icon – 1:40
Reusable widget – 2:00
onTap callback – 2:10
- Flutter lookup failed in @fields error (solved) - July 14, 2023
- Free open source alternative to Notion along with AI - July 13, 2023
- Threads API for developers for programmatic access - July 12, 2023