JsonCircularProgressIndicatorBuilderModel class
Creates a circular progress indicator.
The value argument can either be null for an indeterminate progress indicator, or a non-null value between 0.0 and 1.0 for a determinate progress indicator.
Accessibility
The semanticsLabel can be used to identify the purpose of this progress bar for screen reading software. The semanticsValue property may be used for determinate progress indicators to indicate how much progress has been made.
- Inheritance
-
- Object
- JsonClass
- JsonWidgetBuilderModel
- JsonCircularProgressIndicatorBuilderModel
Constructors
-
JsonCircularProgressIndicatorBuilderModel(Map<
String, dynamic> args, {Color? backgroundColor, Color? color, String? semanticsLabel, String? semanticsValue, dynamic strokeAlign = CircularProgressIndicator.strokeAlignCenter, StrokeCap? strokeCap, double strokeWidth = 4.0, double? value, dynamic valueColor = null}) -
const
Properties
-
args
→ Map<
String, dynamic> -
finalinherited
- backgroundColor → Color?
-
final
- color → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticsLabel → String?
-
final
- semanticsValue → String?
-
final
- strokeAlign → dynamic
-
The relative position of the stroke on a CircularProgressIndicator.
final
- strokeCap → StrokeCap?
-
The progress indicator's line ending.
final
- strokeWidth → double
-
The width of the line used to draw the circle.
final
- value → double?
-
final
- valueColor → dynamic
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Abstract function that concrete classes must implement. This must encode
the internal data model to a JSON compatible representation.
override
-
toString(
) → String -
Returns the string encoded JSON representation for this class. This will
remove all null values and empty collections from the returned string.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromDynamic(
dynamic map, {Map< String, dynamic> args = const {}, JsonWidgetRegistry? registry}) → JsonCircularProgressIndicatorBuilderModel -
maybeFromDynamic(
dynamic map, {Map< String, dynamic> args = const {}, JsonWidgetRegistry? registry}) → JsonCircularProgressIndicatorBuilderModel?