wiggly_loaders 0.9.0
wiggly_loaders: ^0.9.0 copied to clipboard
A collection of smooth, customizable wiggly/wavy loading indicators for Flutter — circular loader, linear progress bar, and pull-to-refresh indicator.
0.9.0 #
- Add
onTriggertoWigglyRefreshIndicator- Fires once when the pull first crosses
triggerDistance - Lets callers plug in haptics such as
HapticFeedback.mediumImpact()on iOS
- Fires once when the pull first crosses
- Update README and test coverage for the new refresh hook
0.8.0 #
- Add
WigglyControllerforWigglyLoader,WigglyLinearLoader, andWigglyDotsLoader- Pause and resume internal animation loops from outside widget tree
- Jump to determinate progress programmatically, including from an indeterminate loader
- Listen for playback status changes, including
completed
- Add global
debugWigglyLoadersflag to overlay wave guides and sample points for arc, linear, dot, and refresh painters - Update README and test coverage for controller-driven playback and debug tooling
0.7.0 #
- Add
WigglySkeletonLoaderfor shimmering skeleton placeholders — the highlight is a sinusoidal wave that travels across the shape instead of a flat gradient shimmerWigglySkeletonLoader(width, height, borderRadius)for a single blockWigglySkeletonLoader.text(lines, lineHeight, lastLineFraction)for multi-line text placeholdersWigglySkeletonLoader.card(avatarSize, lines)for avatar + lines layout
- Add
WigglyProgressButton— a button that morphs throughidle → loading → success/errorwith a continuously wiggling outline - Driven by a
WigglyButtonStateenum, exposesonPressed,onComplete, and per-state foregrounds - Loading state hosts an inline
WigglyDotsLoader.indeterminate - Extend
WigglyLoadersThemeDatawithskeletonBaseColor,skeletonHighlightColor,buttonProgressColor,buttonForegroundColor,buttonSuccessColor,buttonErrorColor - Both new widgets respect shared
speedFactor,ease, andMediaQuery.disableAnimationsreduced-motion behavior - Test coverage and README cookbook recipes for the new widgets
0.6.0 #
- Add
onCompletecallback toWigglyLoader,WigglyLinearLoader, andWigglyDotsLoader— fired once after the burst animation finishes whenprogressreaches1.0 - Add
completeDurationparameter (default450ms) to control the burst animation length - Burst effect: wiggle amplitude spikes to ×2.5 at the midpoint then elastically returns to baseline
- Reduced-motion mode skips the burst animation and calls
onCompletedirectly - Add optional
progressEndColortoWigglyLoader,WigglyLinearLoader,WigglyDotsLoader, andWigglyRefreshIndicator - Render gradient interpolation across arc and linear progress strokes with shader-based painting
- Interpolate active dot color from start to end across the row for determinate and indeterminate dots
- Update README, example app, and API docs to show gradient styling across all loader variants
0.5.0 #
- Add shared theme tokens to
WigglyLoadersThemeDataforprogressColor,trackColor,backgroundColor,sizeScale,strokeWidthScale,speedFactor, andease - Apply shared theme styling and motion defaults across
WigglyLoader,WigglyLinearLoader,WigglyDotsLoader, andWigglyRefreshIndicator - Preserve widget-level overrides while allowing theme-driven presets for size, stroke, color, and animation feel
- Update README and example app to demonstrate the expanded theme engine
- Add test coverage for shared theme scaling and motion behavior
0.4.0 #
- Add
WigglyDotsLoaderfor compact inline loading and progress states - Add dots theming support in
WigglyLoadersThemeData - Add README cookbook recipes for cards, buttons, pagination, refresh, and themed usage
- Add tests for dots assertions, mode switching, theme resolution, reduced motion, and semantics
0.3.0 #
- Add package theme extension support via
WigglyLoadersThemeData - Add default semantics labels/values for loader, linear loader, and refresh indicator
- Add soft reduced-motion behavior when
MediaQuery.disableAnimationsis enabled - Add
triggerDistance,maxDragDistance, andnotificationPredicatetoWigglyRefreshIndicator - Add test coverage for theme resolution, semantics, and new refresh indicator parameters
0.2.0 #
- Add
willAnimate(defaulttrue) toWigglyLoaderandWigglyLinearLoader - Add mount intro animation: determinate
0 -> progress, indeterminate intro0 -> 100%then loop
0.1.0 #
- Initial release
WigglyLoader— circular arc loader with determinate and indeterminate modesWigglyLinearLoader— horizontal bar loader with determinate and indeterminate modesWigglyRefreshIndicator— pull-to-refresh wrapper with wiggly arc