top_snackbar_flutter 1.0.2 copy "top_snackbar_flutter: ^1.0.2" to clipboard
top_snackbar_flutter: ^1.0.2 copied to clipboard

outdated

Top snack bar package was created for nice and convenient way to inform users about what happened.

top-snackbar-flutter #

Made in lanars.com.

pub package

If you need to show the user some information in a nice way, you can use this package. The API is as simple as API for regular Material method showDialog. If you need to use your own widget to display, you can pass it into showTopSnackBar function.

Getting Started #

In order to show a CustomSnackBar you need to call a showTopSnackBar function. You can pass there any widget you want but we have a CustomSnackBar for example.

showTopSnackBar(
    context,
    CustomSnackBar.success(
      message:
          "Good job, your release is successful. Have a nice day",
    ),
);
showTopSnackBar(
    context,
    CustomSnackBar.info(
      message:
          "There is some information. You need to do something with that",
    ),
);
showTopSnackBar(
    context,
    CustomSnackBar.error(
      message:
          "Something went wrong. Please check your credentials and try again",
    ),
);
465
likes
0
pub points
98%
popularity

Publisher

verified publisherlanars.com

Top snack bar package was created for nice and convenient way to inform users about what happened.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on top_snackbar_flutter