September 2019
Beginner
512 pages
12h 52m
English
Defining our CustomPainter descendant class is the most important step here. As said before, in this example, we defined a painter that takes a list of int values and, based on that, draws a pie like a circle with proportional slices.
As said before, we need to override two methods from CustomPainter to make this work. Let's see how we define them.
Read now
Unlock full access