added dev tools

This commit is contained in:
Username1548
2025-01-23 14:21:05 +07:00
parent 7eaf0bc1bb
commit 2d3ef9dd76
24 changed files with 1476 additions and 465 deletions

View File

@@ -26,3 +26,15 @@ void showErrorToast(String message) {
fontSize: 16.0,
);
}
void showSuccessToast(String message) {
Fluttertoast.showToast(
msg: message,
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.TOP,
timeInSecForIosWeb: _toastDuration,
backgroundColor: appTheme.greenA70001,
textColor: appTheme.whiteA700,
fontSize: 16.0,
);
}