improving error handling
This commit is contained in:
@@ -181,6 +181,7 @@ class _PayScreenState extends State<PayScreen> with TickerProviderStateMixin {
|
|||||||
AppSnackBar.show(
|
AppSnackBar.show(
|
||||||
context,
|
context,
|
||||||
errorMessage,
|
errorMessage,
|
||||||
|
backgroundColor: Colors.deepOrange,
|
||||||
action: SnackBarAction(
|
action: SnackBarAction(
|
||||||
label: 'Check uptime',
|
label: 'Check uptime',
|
||||||
textColor: Colors.yellow, // Optional custom styling
|
textColor: Colors.yellow, // Optional custom styling
|
||||||
|
|||||||
Reference in New Issue
Block a user