LoadingStyle class
The LoadingStyle class is used to determine the type of loading widget
Constructors
- LoadingStyle({required LoadingStyleType type, Widget? child})
- LoadingStyle.none()
- Construct a LoadingStyle.none widget This will not display any loading widget.
- LoadingStyle.normal({Widget? child})
-
Construct a LoadingStyle.normal widget
Provide a
widget
to display a custom loading widget. By default, the LoadingStyle.normal widget will display your Nylo loader. - LoadingStyle.skeletonizer({Widget? child})
-
Construct a
LoadingStyle.skletonizer
widget Provide awidget
to display a custom loading widget. By default, theLoadingStyle.skletonizer
widget will attempt to render your widget with a skeltonizer loader.
Properties
- child → Widget?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → LoadingStyleType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
) → Widget - Render the loading widget
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited