mini_toast 1.2.0 copy "mini_toast: ^1.2.0" to clipboard
mini_toast: ^1.2.0 copied to clipboard

A lightweight and easy-to-use toast notification library for Flutter

1.2.0 #

✨ New Features #

  • Added Web Platform Support
    • Full compatibility with web browsers
    • Optimized rendering for web environment
    • Consistent behavior across platforms
  • Implemented Toast Dismissal
    • Users can now manually dismiss toasts by clicking/tapping
    • Automatic cleanup of dismissed toast resources
    • Optional dismiss callback for custom handling

🐛 Bug Fixes #

  • Improved toast positioning in web browsers
  • Fixed overlay issues in web context

📝 Documentation #

  • Added web platform setup instructions
  • Updated example code with dismiss functionality

1.1.0 #

✨ New Features #

  • Added Warning Variant
    • New orange-colored warning toast type
    • Warning icon (warning_amber_outlined)
    • Consistent styling with existing variants
  • Implemented Custom Toast Widget Support
    • New showCustom method for displaying custom widgets
    • Full control over toast content and styling
    • Maintains animation and positioning features
    • Example implementations added to documentation

💡 Improvements #

  • Enhanced type safety for custom toast implementations
  • Improved documentation with custom toast examples

1.0.0 #

🎉 Initial Release #

  • Core Features

    • Dynamic toast notifications with auto-positioning
    • Three base variants: success, error, and info
    • Built-in Material Design icons
    • Automatic size adjustment
    • Queue management system
  • Customization Options

    • Flexible positioning (top, bottom, left, center, right)
    • Animation control
      • Configurable durations
      • Smooth slide animations
      • Fade effects
    • Appearance customization
      • Text styles
      • Icon colors
      • Margins and padding
      • Border radius
      • Shadow effects
      • Toast spacing
  • Developer Experience

    • Simple singleton API via MiniToast.instance
    • Comprehensive documentation
    • Example application
    • Type-safe API

📝 Notes #

  • Requires Flutter SDK 3.10.0 or higher
  • Supports null safety
5
likes
160
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.23 - 2025.04.07

A lightweight and easy-to-use toast notification library for Flutter

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on mini_toast