widget_loading
0.4.0, released 3 years ago by splashbyte.dev
Widget that hides its child and shows a loading animation until data is ready
WASM-ready
What it does
Provides two widgets, WiperLoading and CircularWidgetLoading, that display a customizable loading animation while a child widget is not yet available. They can be used with a boolean flag or a Future to automatically hide/show the child.
AI-written summary of version 0.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a quick loading placeholder for a widget
- You want a simple, customizable loading animation without writing custom code
- You prefer a declarative API that works with Future or a loading flag
Skip it when
- You need complex or highly customized loading animations
- You require advanced state management or integration with other packages
Strengths
- Easy to use API
- Highly customizable animations
- Supports both flag and Future usage
- No external dependencies
Weaknesses
- Limited to loading scenarios only
- No advanced features like skeleton screens or shimmer effects
- Not suitable for complex UI states
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
WiperLoading(
loading: isLoading,
child: YourWidget(),
)Alternatives
Packages that do the same job and could replace widget_loading.