From 9de2d0e7d2f1cdd58fa7513a2eb882f914368cc9 Mon Sep 17 00:00:00 2001 From: Patrick Alvin Alcala Date: Wed, 2 Apr 2025 15:56:09 +0800 Subject: [PATCH] reduce font of notification --- lib/widgets/snackbar_widget.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/snackbar_widget.dart b/lib/widgets/snackbar_widget.dart index e21563c..5d379e4 100644 --- a/lib/widgets/snackbar_widget.dart +++ b/lib/widgets/snackbar_widget.dart @@ -4,7 +4,7 @@ import 'package:google_fonts/google_fonts.dart'; void showNotification(BuildContext context, String text, bool isPositive) { ScaffoldMessenger.of(context).showSnackBar( SnackBar( - content: Text(text, style: GoogleFonts.inter(fontSize: 14, fontWeight: FontWeight.w600)), + content: Text(text, style: GoogleFonts.inter(fontSize: 12, fontWeight: FontWeight.w400)), backgroundColor: isPositive ? const Color.fromRGBO(37, 106, 32, 1) : const Color.fromRGBO(188, 59, 50, 1), elevation: 4.0, behavior: SnackBarBehavior.floating,