VideoLoadingStyle class
A model to provide the custom values for the loading video widget
Constructors
- VideoLoadingStyle({Widget? loading, String? loadingText, TextStyle? loadingTextStyle, Color? loadingIndicatorValueColor, Color? loadingBackgroundColor, Color? loadingIndicatorBgColor, Color? loadingIndicatorColor, double loadingIndicatorWidth = 4.0, String? indicatorSemanticsLabel, String? indicatorSemanticsValue, double? indicatorInitialValue, double spaceBetweenIndicatorAndText = 8.0, bool showLoadingText = true})
-
Constructor
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- indicatorInitialValue → double?
-
If non-null, the value of this progress indicator.
final
- indicatorSemanticsLabel → String?
-
The SemanticsProperties.label for this progress indicator.
final
- indicatorSemanticsValue → String?
-
The SemanticsProperties.value for this progress indicator.
final
- loading → Widget?
-
A custom loading widget to replace the default loading widget.
final
- loadingBackgroundColor → Color?
-
Custom background color for the loading widget.
final
- loadingIndicatorBgColor → Color?
-
The progress indicator's background color.
final
- loadingIndicatorColor → Color?
-
The progress indicator's color.
final
- loadingIndicatorValueColor → Color?
-
Custom color for the loading indicator. If the value is null the color will be Colors.amber
final
- loadingIndicatorWidth → double
-
The width of the line used to draw the circle. Default value is 4.0.
final
- loadingText → String?
-
Custom loading text of the loading widget.
final
- loadingTextStyle → TextStyle?
-
Custom TextStyle for the loading text.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showLoadingText → bool
-
If you want to show both the loading indicator and the loading text you can set this property to
trueandfalseto show the loading indicator only.final - spaceBetweenIndicatorAndText → double
-
The space between the loading text and the loading indicator.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited