JsonLinearProgressIndicatorBuilderModel class

Creates a linear 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

Constructors

JsonLinearProgressIndicatorBuilderModel(Map<String, dynamic> args, {Color? backgroundColor, BorderRadiusGeometry? borderRadius, Color? color, double? minHeight, String? semanticsLabel, String? semanticsValue, Color? stopIndicatorColor, double? stopIndicatorRadius, double? trackGap, double? value, required dynamic valueColor, bool? year2023})
const

Properties

args Map<String, dynamic>
finalinherited
backgroundColor Color?
final
borderRadius BorderRadiusGeometry?
The border radius of both the indicator and the track.
final
color Color?
final
hashCode int
The hash code for this object.
no setterinherited
minHeight double?
The minimum height of the line used to draw the linear indicator.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticsLabel String?
final
semanticsValue String?
final
stopIndicatorColor Color?
The color of the stop indicator.
final
stopIndicatorRadius double?
The radius of the stop indicator.
final
trackGap double?
The gap between the indicator and the track.
final
value double?
final
valueColor → dynamic
final
year2023 bool?
When true, the LinearProgressIndicator will use the 2023 Material Design 3 appearance.
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}) JsonLinearProgressIndicatorBuilderModel
maybeFromDynamic(dynamic map, {Map<String, dynamic> args = const {}, JsonWidgetRegistry? registry}) JsonLinearProgressIndicatorBuilderModel?