Donut Section
Data class representing the single section of the donut containing amount and color.
Parameters
amount
value of this single section. Eg. when the DonutModel.cap is set to 10f and this is set to 2.5f then this section will take 25% of the whole donut.
color
color of this single section
Constructors
DonutSection
Link copied to clipboard
value of this single section.
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
copy
Link copied to clipboard