changed snackbar styling
This commit is contained in:
@@ -10,10 +10,11 @@ class Notifying {
|
|||||||
}) {
|
}) {
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
SnackBar(
|
SnackBar(
|
||||||
|
backgroundColor: Theme.of(context).colorScheme.error,
|
||||||
content: Text(
|
content: Text(
|
||||||
text,
|
text,
|
||||||
style: isError
|
style: isError
|
||||||
? TextStyle(color: Theme.of(context).colorScheme.error)
|
? TextStyle(color: Theme.of(context).colorScheme.onError)
|
||||||
: null,
|
: null,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user