CupertinoLoadingIndicatorProperties class
Holds configurable properties of a cupertino loading indicator. Refer to Flutter's CupertinoActivityIndicator for more information.
- Inheritance
-
- Object
- CustomProperties
- LoadingIndicatorProperties
- CupertinoLoadingIndicatorProperties
- Annotations
-
- @JsonSerializable()
Constructors
- CupertinoLoadingIndicatorProperties.new({required ColorRGBA color, double radius = 10})
- Creates a new CupertinoLoadingIndicatorProperties.
- CupertinoLoadingIndicatorProperties.fromJson(Map json)
-
Creates a CupertinoLoadingIndicatorProperties from a JSON data.
factory
Properties
- color ↔ ColorRGBA
-
Color of the loading indicator.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCupertino → bool
-
Whether this represents properties for a cupertino loading indicator.
no setterinherited
- isMaterial → bool
-
Whether this represents properties for a material loading indicator.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- radius ↔ double
-
Radius of the loading indicator.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - type ↔ String
-
Type of the loading indicator.
finalgetter/setter pairinherited-setteroverride-getter
Methods
-
asCupertino(
) → CupertinoLoadingIndicatorProperties -
Casts this to CupertinoLoadingIndicatorProperties.
inherited
-
asMaterial(
) → MaterialLoadingIndicatorProperties -
Casts this to MaterialLoadingIndicatorProperties.
inherited
-
copyWith(
{ColorRGBA? color, double? radius}) → CupertinoLoadingIndicatorProperties - Duplicate this CupertinoLoadingIndicatorProperties with given data overrides.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes the properties to a JSON object.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited