thing_toast 1.1.1 copy "thing_toast: ^1.1.1" to clipboard
thing_toast: ^1.1.1 copied to clipboard

Implementation of Material 3 Expressive Toast. Inspired by Sonner from Shandcn. 4 Types of Toast: Succes, Info, Warning, and Error.

A package for showing fancy gradient toast in Flutter applications.

Features #

Show 4 Type of Toast : Success, Info, Warning and Error.

Getting started #

Add to your dependencies:

dependencies:
  thing_toast: ^1.1.4

Then import:

import 'package:thing_toast/thing_toast.dart';

Usage #

To Show Success Toast:

ThingToast.success(
  context,
  message: 'This is Toast',
);

To Show Info Toast:

ThingToast.info(
  context,
  message: 'This is Toast',
);

To Show Warning Toast:

ThingToast.warning(
  context,
  message: 'This is Toast',
);

To Show Error Toast:

ThingToast.error(
  context,
  message: 'This is Toast',
);

Additional information #

Report any bugs if any via github.

3
likes
160
points
190
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Implementation of Material 3 Expressive Toast. Inspired by Sonner from Shandcn. 4 Types of Toast: Succes, Info, Warning, and Error.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, motor

More

Packages that depend on thing_toast