thing_toast 1.0.1 copy "thing_toast: ^1.0.1" to clipboard
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.

3
likes
160
points
7
downloads

Publisher

unverified uploader

Weekly Downloads

Package for Fancy Gradient Toast. Inspired by Sonner from Shandcn. 4 Types of Toast: Succes, Info, Warning, and Error.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, uuid

More

Packages that depend on thing_toast