fade_shimmer 2.3.0 fade_shimmer: ^2.3.0 copied to clipboard
A fade shimmer library to implement loading like lastest facebook loading effect.
fade_shimmer #
A fade shimmer library to implement loading like latest facebook loading effect.
demo #
example #
create rounded loading
FadeShimmer.round(
size: 60,
fadeTheme: isDarkMode ? FadeTheme.dark : FadeTheme.light,
)
create loading with custom size and color
FadeShimmer(
height: 8,
width: 150,
radius: 4,
highlightColor: Color(0xffF9F9FB),
baseColor: Color(0xffE6E8EB),
)
if you want to change the animation duration, note this change will affect all the widgets.
FadeShimmer.animationDurationInMillisecond = 3000;//default will be 1000