Правки + иконка
This commit is contained in:
@@ -51,7 +51,19 @@ void showSuccessToast(String text) {
|
||||
toastLength: Toast.LENGTH_SHORT,
|
||||
gravity: ToastGravity.TOP,
|
||||
timeInSecForIosWeb: 1,
|
||||
backgroundColor: AppColors.additional_blue,
|
||||
backgroundColor: Colors.green,
|
||||
textColor: AppColors.white,
|
||||
fontSize: 16,
|
||||
);
|
||||
}
|
||||
|
||||
void showInfoToast(String text) {
|
||||
Fluttertoast.showToast(
|
||||
msg: text,
|
||||
toastLength: Toast.LENGTH_SHORT,
|
||||
gravity: ToastGravity.TOP,
|
||||
timeInSecForIosWeb: 1,
|
||||
backgroundColor: AppColors.disabled,
|
||||
textColor: AppColors.white,
|
||||
fontSize: 16,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user