0 purchases
snackbar
Simple snackbar
Usage #
import 'package:snackbar/snackbar.dart';
// Simple snackbar
snack("Hello World");
// Snack with a button
snackUndo("Deleted XYZ", () {
// It was NOT undone, proceed with deletion
}, undoText: "Undo",
duration: const Duration(seconds: 5));
// Clear the current snackbar
clearSnackbar();
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.