widget_loading 0.4.0 widget_loading: ^0.4.0 copied to clipboard
An easy way to hide a widget when you have nothing to show yet and need a loading animation at the same time.
Widget Loading #
If you like this package, please leave a like there on pub.dev and star on GitHub. #
Simple widgets for loading widget contents. It's an easy way to hide a widget when you have nothing to show and need a loading animation at the same time.
Easy Usage #
Easy to use and highly customizable.
WiperLoading #
WiperLoading(
loading: loading,
interval: interval,
wiperDeformingFactor: deformingFactor,
curve: curve,
wiperBuilder: builder
wiperWidth: wiperWidth,
wiperColor: wiperColor,
wiperBuilder: wiperBuilder,
sizeCurve: sizeCurve,
sizeDuration: sizeDuration,
direction: wiperDirection,
child: Padding(
padding: const EdgeInsets.all(15.0),
child: yourChild,
),
...
)
or
WiperLoading.future(future: futureOfYourWidget, ...)
CircularWidgetLoading #
CircularWidgetLoading(
loading: loading,
child: yourChild,
...
)