thing_toast 1.1.1
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.