show method
dynamic
show(})
Implementation
show(String text, BuildContext context,
{Color? bgColor, Color? textColor, int duration = 3, int gravity = 0}) {
Fluttertoast.showToast(
msg: text,
toastLength: Toast.LENGTH_LONG,
gravity: ToastGravity.BOTTOM,
timeInSecForIosWeb: 1,
backgroundColor: bgColor ?? AllColors().ORANGE,
textColor: textColor ?? Colors.white,
fontSize: 16.0);
}