shimmer_ai 1.2.1 copy "shimmer_ai: ^1.2.1" to clipboard
shimmer_ai: ^1.2.1 copied to clipboard

Effortlessly add shimmer loading effects to any Flutter widget with a simple one-line extension `.withShimmerAi()`. Now with extensive customization options for colors, direction, angle, and custom gr [...]

Changelog #

All notable changes to this project will be documented in this file.

1.2.1 July 31, 2025 #

Released: July 31, 2025

Changed #

  • ๐Ÿงน Fixed code formatting.

1.2.0 July 31, 2025 #

Released: July 31, 2025

Added #

  • โœจ Enhanced Customization: Introduced ShimmerAiConfig for granular control over shimmer appearance.
  • baseColor, highlightColor: Control shimmer colors.
  • duration: Adjust animation speed.
  • direction: Set shimmer animation direction (LTR, RTL, TTB, BTT).
  • angle: Define the angle of the shimmer effect.
  • borderRadius: Customize border radius of rectangular placeholders.
  • repeat: Control continuous looping.
  • loopCount: Specify the number of animation loops.
  • customGradient: Provide a custom LinearGradient for unique effects.
  • ๐Ÿงช New Test Cases: Added comprehensive widget tests for all new customization parameters to ensure functionality and prevent regressions, now testing the internal shimmer implementation.

Changed #

  • โ™ป๏ธ Refactored API: withShimmerAi() extension now accepts ShimmerAiConfig or individual parameters for flexibility.
  • โš™๏ธ Improved Placeholder Logic: Enhanced ShimmerAiWrapper and ShimmerPlaceholders to utilize ShimmerAiConfig for dynamic rendering.
  • ๐Ÿ“ Smarter Sizing: Refined size_utils.dart to provide more accurate estimations for placeholder dimensions based on original widgets (e.g., Text, Container, SizedBox).
  • ๐Ÿ“š Updated Example: example/lib/main.dart now showcases all new customization options with various scenarios.

Fixed #

  • ๐Ÿ› Ensured all parameters propagate correctly from withShimmerAi to the underlying custom shimmer widget.
  • ๐Ÿ› Improved handling of different widget types within ShimmerAiWrapper for more consistent placeholder generation.

1.1.1 July 25, 2025 #

Released: July 25, 2025

Changed #

  • ๐Ÿ”ง Bug Fixed.

1.1.0 July 25, 2025 #

Released: July 25, 2025

Changed #

  • ๐Ÿ”ง Refactored package structure to modularize extensions, widgets, placeholders, and utilities.
  • โ™ป๏ธ Improved performance and widget rebuilding logic.
  • ๐Ÿงน Cleaned codebase for null safety, code style, and pub.dev scoring improvements.

1.0.0 July 22, 2025 #

Released: July 22, 2025

๐ŸŽ‰ Initial release of shimmer_ai:

Feature Description
โœจ Smooth shimmer animation Built-in shimmer gradient animation to mimic content loading
๐Ÿงฑ Reusable skeleton layout widgets Customizable rectangular, rounded, and circular shimmer placeholders
๐ŸŽจ Full color and duration control Adjust base color, highlight color, animation duration, and direction
๐Ÿ” Looping animation support Supports continuous looping shimmer effect for async UIs
๐Ÿ“ฑ Responsive layout support Works across all screen sizes with adaptive behavior
๐Ÿ’ก Perfect for Loading states, skeleton UIs, onboarding placeholders, list/grid loaders
๐Ÿงช example/lib/main.dart Full working demo with vertical list, card UI, and use-case showcase
24
likes
0
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

Effortlessly add shimmer loading effects to any Flutter widget with a simple one-line extension `.withShimmerAi()`. Now with extensive customization options for colors, direction, angle, and custom gradients, without relying on external shimmer packages.

Repository (GitHub)
View/report issues

Topics

#flutter #shimmer #skeleton-loader #loading-animation #flutter-ui

License

unknown (license)

Dependencies

flutter

More

Packages that depend on shimmer_ai