PackageTrack
Sign in Get early access

animated_word_counter

An animated word counter widget that supports multiple languages with customizable styling, built on animated_flip_counter.

1.1.0 48 downloads/mo #4695 most downloaded on pub.dev louislamlam/animated_word_counter

What this package is like to depend on

Last release 1 years ago

29 Jun 2025

Too new to tell

only 1 release windows

Nearly every release is documented

notes for 5 of 5 stable releases

Nothing withdrawn

no release was ever pulled

1 years old

5 releases · first in 2025

0 releases in the last 12 months

see the full history below

Release timeline

5 releases · Jun 2025 to Jun 2025
2026
Release Pre-release

Releases

latest 5
  1. 1.1.0 29 Jun 2025
    Release notes

    Added

    • Custom Text Styles: Added prefixTextStyle and suffixTextStyle parameters to AnimatedWordCounter and SimpleAnimatedWordCounter
    • Independent Styling: Prefix and suffix text can now have completely different text styles (color, size, weight, etc.) from the main counter
    • Baseline Alignment: Added proper baseline alignment for text with different font sizes using CrossAxisAlignment.baseline
    • Smart Fallback: When prefix/suffix text styles are null, the main textStyle is used automatically
    • Example Showcase: Added live demo in example app showing various text styling combinations

    Improved

    • Enhanced text alignment for mixed font sizes with alphabetic baseline alignment
    • Better visual consistency when combining different text styles
    • More flexible styling options for creating custom counter designs

    Technical

    • Added comprehensive test coverage for text styling scenarios (33/33 tests passing)
    • Maintained full backward compatibility - existing code continues to work unchanged
    • Zero analyzer warnings with proper documentation for new parameters
    Open source →
  2. 1.0.4 29 Jun 2025
    Release notes

    Fixed

    • Layout Constraints: Fixed "RenderFlex overflowed" errors when AnimatedWordCounter is used in a Row with Spacer() widgets
    • Widget Constraints: Resolved unbounded width constraint issues by wrapping ImprovedAnimatedFlipCounter in Flexible widgets
    • Layout Compatibility: Improved compatibility with Expanded, Flexible, and other layout widgets

    Improved

    • Better handling of constrained layouts in complex widget trees
    • Enhanced widget sizing behavior in responsive layouts
    • Added comprehensive test coverage for layout constraint scenarios

    Technical

    • Replaced problematic IntrinsicWidth approach with Flexible wrapper pattern
    • Added mainAxisSize: MainAxisSize.min to internal Row widgets for better space management
    • Fixed const constructor warnings in test files
    • All tests passing (29/29) with comprehensive layout scenario coverage
    Open source →
  3. 1.0.3 29 Jun 2025
    Release notes

    Fixed

    • Critical Runtime Fix: Fixed LateInitializationError in AnimatedWordCounter widget that caused app crashes on initialization
    • Text Overflow: Fixed suffixOverflow and prefixOverflow properties not working correctly by adding proper text constraints
    • Language Configurations: Added missing description fields to all language configurations for better API completeness
    • Code Quality: Fixed all Flutter analyzer warnings and improved const constructor usage

    Improved

    • Enhanced null safety handling in AnimatedWordCounter with proper state management
    • Better error handling with graceful fallbacks during widget initialization
    • Improved text overflow handling with maxLines: 1 and softWrap: false for reliable overflow behavior
    • Performance optimizations through const constructors and reduced widget rebuilds

    Technical

    • Updated deprecated API usage (withOpacity()withValues(alpha:), color.opacitycolor.a)
    • Removed unnecessary imports and cleaned up codebase
    • All tests passing (26/26) with no analyzer warnings
    • Better documentation and code organization
    Open source →
  4. 1.0.1 28 Jun 2025
    Release notes

    Changed

    • Updated homepage URL to point to the official GitHub repository
    • Minor documentation improvements
    Open source →
  5. 1.0.0 28 Jun 2025
    Release notes

    Added

    • Initial release of animated_word_counter
    • Multi-language word counting support for 9 languages:
      • English (space-separated)
      • Chinese (character-based)
      • Japanese (mixed script)
      • Korean (Hangul syllables)
      • Thai (character-based)
      • Arabic (space-separated Arabic words)
      • Hebrew (space-separated Hebrew words)
      • Hindi (Devanagari script)
      • Auto-detection mode
    • Three main widget types:
      • AnimatedWordCounter - Full-featured counter with statistics
      • SimpleAnimatedWordCounter - Basic counter display
      • RealTimeAnimatedWordCounter - Real-time updating counter
    • Comprehensive statistics including:
      • Word count
      • Character count (with and without spaces)
      • Line count
      • Paragraph count
      • Language detection
    • Customizable styling and animations
    • Built on animated_flip_counter for smooth animations
    • Debouncing support for real-time updates
    • Complete example app demonstrating all features
    • Comprehensive documentation and API reference

    Features

    • Language-aware word counting algorithms
    • Unicode character range detection
    • Automatic language detection
    • Customizable animation duration and curves
    • Prefix and suffix text support
    • Statistics display option
    • Callback support for count changes
    • Material Design integration
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive