Last updated:
0 purchases
flashtoast
Flutter Flash Toast
Features #
You can customize the type of flash toast using the FlashType enum in the package.
The FlashType enum includes several options for the type of message you want to display:
Getting started #
To use the flashToast package in your Flutter app, simply import the package and call either the FlashToast.showFlashToast() method when you want to display a flash message.
Usage #
import 'package:flashtoast/flash_bar.dart';
copied to clipboard
FlashType.success: a success message with a green background.
FlashToast.showFlashToast(context: context, title: "your title", message: "your message", flash
copied to clipboard
Type: FlashType.success,flashPosition: FlashPosition.top);
FlashType.warning: a warning message with a yellow background.
FlashToast.showFlashToast(context: context, title: "your title", message: "your message", flashType: FlashType.warning,flashPosition: FlashPosition.center);
copied to clipboard
FlashType.error: an error message with a red background.
FlashToast.showFlashToast(context: context, title: "your title", message: "your message", flashType: FlashType.error,flashPosition: FlashPosition.bottom);
copied to clipboard
FlashType.help: an informative message with a blue background.
FlashToast.showFlashToast(context: context, title: "your title", message: "your message", flashType: FlashType.help);
copied to clipboard
Additional information #
for further contact us on [email protected]
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.