ToastPlus
ToastPlus
is a Flutter package for displaying customizable toast messages with smooth animations. It allows you to show transient notifications with various styles based on the type of message.
Features
- Customizable Toast Messages: Display messages with custom text and types (success, danger, info, warning).
- Animated Transitions: Smooth fade-in and fade-out animations using
AnimationController
. - Automatic Dismissal: Toast messages automatically disappear after a specified duration.
- Flexible Styling: Customizable background colors and icons for different types of messages.
- Position: support for positioning the toast at the top or bottom of the screen .
- RTL SUPPORT: support for right-to-left text direction .
Installation
Add ToastPlus
to your pubspec.yaml
file:
dependencies:
flutter:
sdk: flutter
toast_plus: ^1.0.8