SplashWidgets class
A collection of pre-built splash screen UI widgets.
Use these to compose your splash layout or as standalone helpers.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
dotsLoader(
{Color? color}) → Widget - A dots-style loading indicator (three animated dots).
-
errorState(
{required VoidCallback onRetry, required SplashTheme theme, String message = 'Something went wrong.\nPlease check your connection.', String retryLabel = 'Retry'}) → Widget - An error state widget with icon, message, and retry button.
-
loader(
{Color? color, double size = 28, double strokeWidth = 2.5}) → Widget - A centered circular loading indicator.
-
performanceBadge(
{required int loadTimeMs, Color? color}) → Widget - A performance metrics badge (debug use only).
-
retryButton(
{required VoidCallback onRetry, required SplashTheme theme, String label = 'Retry', IconData icon = Icons.refresh}) → Widget - A retry button shown when initialization fails.