widget_loading 0.1.0 widget_loading: ^0.1.0 copied to clipboard
Simple widget for loading widget contents.
Wiper Loading #
A simple widget 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 #
WiperLoading #
WiperLoading(
interval: interval,
wiperDeformingFactor: deformingFactor,
curve: curve,
wiperBuilder: builder
wiperWidth: wiperWidth,
wiperColor: wiperColor,
loading: loading,
wiperBuilder: wiperBuilder,
child: Padding(
padding: const EdgeInsets.all(15.0),
child: yourChild,
),
)
or
WiperLoading.future(future: futureOfYourWidget)
CircularLoading #
CircularWidgetLoading(
loading: loading,
child: yourChild,
)