Progress Circle
Progress indicators express an unspecified wait time or display the length of a process.
Figma Link
https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=900-10416
- Web Components
- Flutter
Demo
zeta-web v0.11.0
Web Components
Storybook
https://design.zebra.com/web/storybook/?path=/docs/components-progress--docs
Attributes
Name | Description | Type | Default |
---|---|---|---|
size | Size. | 20 | 24 | 36 | 40 | 48 | 64 | 64 |
progress | Progress (0-100). | undefined | undefined |
indeterminate | Displays the indeterminate progress indicator. If set to true, any argument for 'value' will be ignored. | boolean | undefined | undefined |
type | The type of the progress circle. | "default" | "upload" | "default" |
Inherited Attributes
Name | Description | Type | Default | Inherited From |
---|---|---|---|---|
rounded | Whether the component is rounded or sharp.When true, rounded will set the border radius of the first child, and any children with class 'contourable-target' to --radius-minimal .Otherwise, this value will be --radius-none . | boolean | undefined | true | Contourable |
CSS Properties
Name | Description |
---|---|
--progress-circle-color | The color of the progress circle. |
Demo
Widgetbook
Inheritance
Object
> DiagnosticableTree
> Widget
> StatefulWidget
> ZetaStatefulWidget
Constructors
Constructor for ZetaProgressCircle
ZetaProgressCircle.new({Key? key, double progress = 0, double maxValue = 1, Duration animationDuration = ZetaAnimationLength.fast, ZetaCircleSizes size = ZetaCircleSizes.xl, bool? rounded, VoidCallback? onCancel, String? label, Widget? child, bool showTrack = false})
Properties
Name | Description | Type | Features |
---|---|---|---|
animationDuration | Duration for progress animation | Duration | final inherited |
child | Child widget shown in the center of the circle. | Widget? | final |
hashCode | The hash code for this object. | int | no setter inherited |
key | Controls how one widget replaces another widget in the tree. | Key? | final inherited |
label | Label for ZetaProgressCircle, override default percentage label. | String? | final |
maxValue | Maximum value for progress, defaults to 1 | double | final inherited |
onCancel | Cancel function => cancel upload. | VoidCallback? | final |
progress | ZetaProgress value, decimal value ranging from 0.0 - 1.0, 0.5 = 50% | double | final inherited |
rounded | Sets rounded or sharp border of the containing box and the icon style. | bool? | final inherited |
runtimeType | A representation of the runtime type of the object. | Type | no setter inherited |
showTrack | If true, the background circle (track) will be shown. | bool | final |
size | Size of ZetaProgressCircle | ZetaCircleSizes | final |