flashtoast 0.0.11 copy "flashtoast: ^0.0.11" to clipboard
flashtoast: ^0.0.11 copied to clipboard

A flutter flash toast that you can customize the type of flash toast using the FlashType enum and other options.

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';

FlashType.success: a success message with a green background. Success:

FlashToast.showFlashToast(context: context, title: "your title", message: "your message", flash

Type: FlashType.success,flashPosition: FlashPosition.top);

FlashType.warning: a warning message with a yellow background. Warning:

FlashToast.showFlashToast(context: context, title: "your title", message: "your message", flashType: FlashType.warning,flashPosition: FlashPosition.center);

FlashType.error: an error message with a red background. Error:

FlashToast.showFlashToast(context: context, title: "your title", message: "your message", flashType: FlashType.error,flashPosition: FlashPosition.bottom);

FlashType.help: an informative message with a blue background. Help:

FlashToast.showFlashToast(context: context, title: "your title", message: "your message", flashType: FlashType.help);

Additional information #

for further contact us on flutter.hasan@gmail.com

19
likes
110
pub points
67%
popularity

Publisher

unverified uploader

A flutter flash toast that you can customize the type of flash toast using the FlashType enum and other options.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flashtoast