tfk_toast 0.0.16 copy "tfk_toast: ^0.0.16" to clipboard
tfk_toast: ^0.0.16 copied to clipboard

tfk_toast is a lightweight Flutter package for displaying customizable toast messages. It supports various toast types like info, warning, error, and success, seamlessly integrating with Flutter's Ove [...]

TfkToast #

TfkToast is a Flutter package designed to display beautiful and customizable toast notifications. Toast messages provide non-intrusive feedback to users, enhancing their experience. GitHub issues GitHub stars GitHub license

Features #

  • Customizable Toasts: Display toasts with various types (info, warning, error, success).
  • Customizable Title and Message: Add a title and message to your toast notifications.
  • Automatic Dismissal: Toasts automatically disappear after a few seconds.
  • Manual Dismissal: Optionally, allow users to manually close the toast.

Installation #

Add tfk_toast to your pubspec.yaml file:

dependencies:
  tfk_toast: ^0.0.12

Then run:

   flutter pub get

Usage #

Import the package in your Dart file:

import 'package:tfk_toast/tfk_toast.dart';

To show a toast, use the following code:

TfkToast.showToast(
  context,
  'This is a toast message!',
  ToastType.success,
);
2
likes
0
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

tfk_toast is a lightweight Flutter package for displaying customizable toast messages. It supports various toast types like info, warning, error, and success, seamlessly integrating with Flutter's Overlay widget to ensure toasts appear correctly above other UI elements.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on tfk_toast

Packages that implement tfk_toast