CssLoader class
This is used to generate a css loading indicator ONLY FOR THE WEB VERSION, for when the iframe is loading the page.
You can check out the default implementation below to see how it should look like, or you can download a custom one from the internet.
Constructors
- CssLoader({String style = ''' .loader { position: absolute; top: calc(50% - 25px); left: calc(50% - 25px); width: 50px; height: 50px; background-color: #333; border-radius: 50%; animation: loader 1s infinite ease-in-out; } @keyframes loader { 0% { transform: scale(0); } 100% { transform: scale(1); opacity: 0; } } ''', String loaderClassName = 'loader'})
-
Constructor
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- loaderClassName → String
-
Loader's className (where it is injected)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → String
-
Full code of the loaded (css-only)
final
Methods
-
build(
) → String - Builds the html page used when ONLY ON WEB, when the page is loading
-
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