Home > Back-end >  How could i split a circle in flutter/dart and make it visually equal?
How could i split a circle in flutter/dart and make it visually equal?

Time:12-16

I tryied to create a Pizza that is able to be split in pieces... The circle itself aint been any Problem, as its a rounded Container, but to cut it by lets say "1-8 pieces", and make it possible to split it individually, and get the circle equally fair splitted visually. If someone could help me with this, i would really appreciate it as im pretty new to Flutter/Dart, and couldnt find any workaround for this problem. thanks.

CodePudding user response:

Take a look at this package. It adds pie charts to flutter. This will probably cover your use case.

  • Related