AdaptiveCircularProgressIndicator class
A progress control provides feedback to the user that a long-running operation is underway. It can mean that the user cannot interact with the app when the progress indicator is visible, and can also indicate how long the wait time might be.
It can be determinate or indeterminate.
Use this widget to create circular progress indicator with platform-specific styling and behavior:
- On macOS, if the value is not null:
ProgressCircleis employed; otherwise,- CupertinoActivityIndicator is utilized.
- On Windows,
ProgressRingis used.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- CoreAdaptiveComponent<
CoreWindowsProperty, CoreMacosProperty> - AdaptiveCircularProgressIndicator
- Available extensions
Constructors
-
AdaptiveCircularProgressIndicator({Key? key, CoreAdaptiveBuilder<
Builder< ? builders, double? value, double radius = 15, Color? activeColor, Color? inactiveColor, String? semanticLabel})FluentThemeData, CoreWindowsProperty?> , Builder<MacosThemeData, CoreMacosProperty?> > -
Creates an AdaptiveCircularProgressIndicator.
const
Properties
- activeColor → Color?
-
The border color of the progress circle.
final
-
builders
→ CoreAdaptiveBuilder<
Builder< ?FluentThemeData, CoreWindowsProperty?> , Builder<MacosThemeData, CoreMacosProperty?> > -
Builders for adapting the component based on platform and theme.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveColor → Color?
-
The inner color of the progress circle.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- progressValue → double?
-
Gets the clamped progress value, ensuring it's between 0 and 100.
no setter
-
properties
→ CoreProperties<
CoreWindowsProperty, CoreMacosProperty> ? -
Properties for customizing the visual and functional aspects of the adaptive component.
finalinherited
- radius → double
-
The radius of the progress circle.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticLabel → String?
-
The semantic label used by screen readers.
final
- value → double?
-
The progress value, ranging from 0 to 100.
final
Methods
-
applyDisabledEffect(
bool isDisabled, [double disabledOpacity = 0.5, bool? ignoringPointer]) → Widget -
Available on Widget, provided by the ApplyDisabledEffect extension
Wraps the current widget with anAnimatedOpacityto visually indicate whether the widget is enabled or disabled. -
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
inherited
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
getAdaptiveComponent(
BuildContext context) → Widget -
inherited
-
macos(
BuildContext context, [CoreMacosProperty? property]) → Widget -
margeWith(
Widget? child, [double? space = 4.0, Axis direction = Axis.horizontal]) → Widget -
Available on Widget, provided by the MergeToChild extension
Merges the current widget withchild, separated by a SizedBox. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
-
windows(
BuildContext context, [CoreWindowsProperty? property]) → Widget
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited