Home > Blockchain >  Flutter : Arc connecting two circle buttons
Flutter : Arc connecting two circle buttons

Time:05-23

How do I achieve this in flutter dart.

  1. I have 2 circle elevated buttons.
  2. I am trying to connect them with arcs - Is there a way i can draw arcs connecting two buttons.

enter image description here

CodePudding user response:

https://pub.dev/packages/graphview you can try the package above. it should help you achieve this.

CodePudding user response:

You need to draw the arc first and place your button over the points of it. Please check below link to draw the arc.

https://www.raywenderlich.com/26483389-flutter-canvas-api-getting-started

Though if you sti facing difficulty, i can try writing the code and share it with you.

  • Related