thing_toast 1.0.1
thing_toast: ^1.0.1 copied to clipboard
Package for Fancy Gradient 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.
| Plaform | Preview |
|---|---|
| iOS | ![]() |
| Android | ![]() |
Getting started #
Add to your dependencies:
dependencies:
thing_toast: ^1.0.1
Then import:
import 'package:thing_toast/thing_toast.dart';
Usage #
To Show Success Toast:
ThingToast.success(
context,
title: 'This is Toast',
subtitle: 'This is the description',
);
To Show Info Toast:
ThingToast.info(
context,
title: 'This is Toast',
subtitle: 'This is the description',
);
To Show Warning Toast:
ThingToast.warning(
context,
title: 'This is Toast',
subtitle: 'This is the description',
);
To Show Error Toast:
ThingToast.error(
context,
title: 'This is Toast',
subtitle: 'This is the description',
);
Additional information #
Report any bugs if any via github.

