reduce font of notification
This commit is contained in:
parent
69615fa4b6
commit
9de2d0e7d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue