default_utility 0.0.5 copy "default_utility: ^0.0.5" to clipboard
default_utility: ^0.0.5 copied to clipboard

A Flutter package providing predefined and customizable Snackbar (toast message) and stateful dialog widgets without needing context.

default_utility #

A Flutter package providing predefined and customizable Snackbar (toast message) and stateful dialog widgets without needing context.

Features #

Simple toast messages with customizable positions, types, icons, duration, and entry/exit animations On-line style toast notifications without requiring BuildContext Extensions for consistent spacing such as 10.h for height gap and 10.w for width gap Stateful custom dialogs with confirmation buttons and callbacks, usable without BuildContext Easy page navigation (pop/back) without needing BuildContext Easy to integrate with minimal boilerplate

Usage #

To use default_utility, you must supply the global navigatorKey in your app’s MaterialApp. This allows showing toasts and dialogs anywhere, without context.

Screenshots #

Screenshot

0
likes
140
points
12
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A Flutter package providing predefined and customizable Snackbar (toast message) and stateful dialog widgets without needing context.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on default_utility