Package app. futured. donut. compose. data
Types
Link copied to clipboard
data class DonutConfig(gapAngleAnimationSpec: AnimationSpec<Float>, masterProgressAnimationSpec: AnimationSpec<Float>, gapWidthAnimationSpec: AnimationSpec<Float>, strokeWidthAnimationSpec: AnimationSpec<Float>, backgroundLineColorAnimationSpec: AnimationSpec<Color>, capAnimationSpec: AnimationSpec<Float>, sectionAmountAnimationSpec: AnimationSpec<Float>, sectionColorAnimationSpec: AnimationSpec<Color>)
Content copied to clipboard
Configuration class for DonutProgress animations.
Link copied to clipboard
data class DonutModel(cap: Float, masterProgress: Float, gapWidthDegrees: Float, gapAngleDegrees: Float, strokeWidth: Float, backgroundLineColor: Color, sections: List<DonutSection>)
Content copied to clipboard
Wrapper for all necessary data values used by DonutProgress to draw its content.
Link copied to clipboard
Data class representing the single section of the donut containing amount and color.