Circular Progress Indicator
This class implements the circular type progress indicators.
With the default style Widget.MaterialComponents.CircularProgressIndicator, 4dp indicator/track thickness is used without animation for visibility change. Without customization, primaryColor will be used as the indicator color; the track is transparent. The following attributes can be used to customize the component's appearance:
trackThickness: the thickness of the indicator and track.indicatorColor: the color(s) of the indicator.trackColor: the color of the track.trackCornerRadius: the radius of the rounded corner of the indicator and track.indicatorSize: the outer diameter of the spinner.indicatorInset: the inset from component's bound to the spinner's outer edge.indicatorDirectionCircular: the rotation direction of the spinner or indicator.
For more information, see the component developer guidance and design guidelines.
Types
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Used in the indeterminate animation type setter for advance animation, which animates an active segment to iteratively grow by modifying the end position and shrink by modifying the start position.
Link copied to clipboard
Used in the indeterminate animation type setter for retreat animation, which animates an active segment to iteratively grow and shrink by modifying the end position.
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Returns the type of indeterminate animation of this progress indicator.
Link copied to clipboard
Returns the indicator animating direction used in this progress indicator.
Link copied to clipboard
Returns the inset of this progress indicator.
Link copied to clipboard
Returns the size (outer diameter) of this progress indicator.
Link copied to clipboard
Sets the type of indeterminate animation.
Link copied to clipboard
Sets the indicator animating direction used in this progress indicator.
Link copied to clipboard
Sets the inset of this progress indicator.
Link copied to clipboard
Sets the size (outer diameter) of this circular progress indicator.
Link copied to clipboard
Sets the track thickness of this progress indicator.