snackbar static method
Implementation
static snackbar(context, {required String text, bool? isFloating = false}) {
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
behavior: isFloating == true ? SnackBarBehavior.floating : null,
// backgroundColor: purpleColor,
content: Text(
text,
style: const TextStyle(fontWeight: FontWeight.w700),
)));
}