CircularProgressRenderBase class abstract

Shared structural base for themed circular progress renderers.

Every theme renders the same tree: a progressbar root, an absolutely positioned conic-gradient ring, and a center content block holding an optional percentage span and an optional label span. The themes differ only in CSS classes, the root/ring style maps, the span style maps, and whether the center content block is always present or only rendered when there is something to show — exposed via the showCenter hook.

This base lives in core and depends only on core props; it must never depend on a theme package.

Inheritance

Constructors

CircularProgressRenderBase(CircularProgressProps props, {Key? key})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one component replaces another component in the tree.
finalinherited
labelStyles Map<String, String>
Inline styles for the label span.
no setter
percentStyles Map<String, String>
Inline styles for the percentage span.
no setter
props CircularProgressProps
final
rootClass String
CSS class applied to the root element.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) Component
Describes the part of the user interface represented by this component.
override
createElement() Element
Creates a StatelessElement to manage this component's location in the tree.
inherited
decorationStyles(ArcaneDecoration? decoration) Map<String, String>
Per-instance decoration overrides. Default: none. A theme overrides this to translate an ArcaneDecoration (elevation intent, theme-specific fields) into its own CSS. Fields a theme does not implement are ignored.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ringStyles(CircularProgressProps props) Map<String, String>
Inline styles for the conic-gradient ring element.
rootStyles(CircularProgressProps props) Map<String, String>
Inline styles for the root element (theme resolves size/layout).
shouldRebuild(covariant Component newComponent) bool
Implement this method to determine whether a rebuild can be skipped.
inherited
showCenter(CircularProgressProps props) bool
Whether the center content block should be rendered. Some themes always render it; others render it only when there is a percentage or label.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited