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 = BorderRadius.zero, Color? color, double? minHeight, String? semanticsLabel, String? semanticsValue, double? value, required dynamic valueColor})
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
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}) JsonLinearProgressIndicatorBuilderModel
maybeFromDynamic(dynamic map, {Map<String, dynamic> args = const {}, JsonWidgetRegistry? registry}) JsonLinearProgressIndicatorBuilderModel?