modern_toast 0.0.5
modern_toast: ^0.0.5 copied to clipboard
A beautiful, modern, and customizable toast notification package for Flutter with smooth animations and multiple toast types.
0.0.4 - 2025-10-18 #
Added #
- Comprehensive API documentation for all public classes and methods
- Library-level documentation with usage examples
- Documentation for
ModernToastColorsclass and all color constants
Changed #
- Updated
animate_dodependency to version ^4.0.0 for latest features and bug fixes - Improved README with centered video demo
Fixed #
- Code formatting issues for better pub.dev score
- Missing documentation comments for better API coverage
0.0.3 - 2025-10-18 #
0.0.2 - 2025-10-18 #
Added #
textStyleparameter toshowModernToastfor custom text stylingshowIconboolean parameter to hide/show icons (default: true)- Refactored code into smaller files following single responsibility principle:
modern_toast_types.dart- Contains enums and color constantsmodern_toast_functions.dart- Contains the main toast functionstop_toast.dart- Contains the TopToast widget
Removed #
flutter_screenutildependency - package now works without additional setup- Replaced responsive sizing with fixed pixel values
Changed #
- Updated example app to demonstrate new features
- Improved code organization and maintainability
0.0.1 - 2025-10-18 #
Added #
- Initial release of Modern Toast package
- Four predefined toast types: Success, Error, Warning, and Info
- Custom toast function with customizable colors and icons
- Smooth zoom-in and slide-down animations using animate_do
- Responsive design using flutter_screenutil
- Auto-dismiss functionality with customizable duration
- Smart debouncing to prevent multiple toasts from showing at once
- Automatic width adjustment based on message content
- Support for up to 3 lines of text with ellipsis overflow
- Beautiful shadow effects and rounded corners
- SafeArea support for proper display on all devices
Features #
showModernToast()- Display predefined toast typesshowModernToast()- Display toasts with predefined types or custom stylingModernToastTypeenum - Success, Error, Warning, InfoModernToastColorsclass - Default color palette