|
|
|
|
@ -70,7 +70,7 @@ class AppToast {
|
|
|
|
|
child: toast,
|
|
|
|
|
gravity: ToastGravity.TOP,
|
|
|
|
|
toastDuration: Duration(seconds: timeInSeconds),
|
|
|
|
|
positionedToastBuilder: (context, child,_) {
|
|
|
|
|
positionedToastBuilder: (context, child) {
|
|
|
|
|
return Positioned(top: 50, left: 10, right: 10, child: child);
|
|
|
|
|
});
|
|
|
|
|
// Fluttertoast.showToast(msg: message, toastLength: toastLength, gravity: toastGravity, timeInSecForIosWeb: timeInSeconds, backgroundColor: Colors.red, textColor: textColor, fontSize: fontSize);
|
|
|
|
|
|