let AI comment everything because well... yeah...
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
// * Helper class for displaying snackbar messages
|
||||
// * Provides a consistent way to show temporary notifications
|
||||
// * throughout the app
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Utility class for showing snackbar messages
|
||||
/// Contains static methods to display notifications
|
||||
class SnackBarHelper {
|
||||
/// Display a snackbar message at the bottom of the screen
|
||||
/// @param context The BuildContext to show the snackbar in
|
||||
/// @param message The text message to display
|
||||
static void showSnackBarMessage(BuildContext context, String message) {
|
||||
ScaffoldMessenger.of(context)
|
||||
.showSnackBar(SnackBar(content: Text(message)));
|
||||
|
||||
Reference in New Issue
Block a user