I want to draw something like image below but I have no clue how to do this:(
I think I should use paint method to draw this.
using row and creating 2 container with decoration and circle shape(using box decoration and borderRadius) but I do Not know how to handle center shape between circles
.
You can try using this tool. You can generate Flutter CustomPainter code from SVG. You can convert this image to SVG and paste the SVG code in this website. It will give you the code! I hope this will help you. If you have any issues in this process, you can ask.
2
Answers
You can try using this tool. You can generate Flutter CustomPainter code from SVG. You can convert this image to SVG and paste the SVG code in this website. It will give you the code! I hope this will help you. If you have any issues in this process, you can ask.
You can use
CustomPainter
. The code will be two circles with a line between them, and a Plus/Minus text within the cirlces.Result
Example
Helpful resources
Custom painting in Flutter
Flutter Tutorial – Custom Paint – Draw Line, Square, Rect, Circle, Triangle, Arc & Image