hz_toast 0.0.5 copy "hz_toast: ^0.0.5" to clipboard
hz_toast: ^0.0.5 copied to clipboard

A highly customizable and feature-rich toast notification package for Flutter applications with comprehensive documentation and smooth animations.

0.0.5 #

  • Toast Alignment System: Added comprehensive alignment support with HzToastAlignment enum
    • Four corner positioning: topLeft, topRight, bottomLeft, bottomRight
    • Automatic positioning calculations with responsive layouts
    • Helper properties for alignment logic (isTop, isBottom, isLeft, isRight)
  • Simplified Architecture: Refactored from multiple overlay widgets to single HzToastWidget
    • Users now only need to add one HzToastWidget to handle all alignments
    • Automatic internal management of different toast positions
    • Improved developer experience with simpler setup
  • Enhanced Animation System: Fixed hideAll() method to properly trigger exit animations
    • All toasts now animate out gracefully when dismissed collectively
    • Added clearAll() method for testing scenarios requiring immediate cleanup
    • Preserved individual toast animations while improving batch operations
  • Comprehensive Test Suite: Added extensive unit and widget tests
    • 23+ test cases covering core functionality, alignment system, and edge cases
    • Proper test cleanup and state management
    • Validation of enum properties, toast lifecycle, and error handling
  • License Compliance: Updated LICENSE file with complete MIT license text
    • Fixed pub.dev OSI-approved license recognition issue
    • Improved package scoring and community accessibility
  • Example Enhancements: Updated example app to showcase new alignment features
    • Demonstration of all four corner positions
    • Interactive buttons for testing different alignment combinations
    • Simplified overlay setup showing best practices

0.0.4 #

  • Documentation Overhaul: Added comprehensive inline documentation following Flutter's style guidelines
  • API Documentation: Detailed documentation for all classes, methods, and properties
  • Code Examples: Added practical usage examples throughout the codebase
  • Developer Experience: Improved IDE support with better parameter descriptions and auto-completion
  • Library Documentation: Enhanced main library file with feature overview and setup instructions
  • Cross-References: Added proper linking between related classes and methods

0.0.3 #

  • Added animated GIF demo to README for better visual showcase
  • Improved documentation with visual demonstration of package features

0.0.2 #

  • Added repository field to pubspec.yaml for better pub.dev integration
  • Improved example documentation and README
  • Updated package metadata for better discoverability

0.0.1 #

  • Initial release of hz_toast package.
  • Added customizable toast notifications with various types and styles.
  • Implemented progress toast feature with dynamic updates.
  • The example app demonstrates all functionalities of the hz_toast package.
3
likes
0
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A highly customizable and feature-rich toast notification package for Flutter applications with comprehensive documentation and smooth animations.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on hz_toast