LoadingStyle class
The LoadingStyle class is used to determine the type of loading widget
Constructors
- LoadingStyle({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, SkeletonizerEffect? effect})
-
Construct a LoadingStyle.skeletonizer widget
Provide a
widget
to display a custom loading widget. By default, the LoadingStyle.skeletonizer widget will attempt to render your widget with a skeletonizer 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
- skeletonizerEffect → SkeletonizerEffect?
-
final
- 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