Update snackbar.dart

This commit is contained in:
Ashita Prasad
2025-02-16 13:19:20 +05:30
parent f7699f2f0f
commit a841e571d3

View File

@ -3,9 +3,11 @@ import 'package:flutter/material.dart';
SnackBar getSnackBar(
String text, {
bool small = true,
Color? color,
}) {
return SnackBar(
width: small ? 300 : 500,
backgroundColor: color,
behavior: SnackBarBehavior.floating,
content: Text(
text,