show static method
void
show(})
Implementation
static void show(
String? msg,
BuildContext context, {
int duration = 1,
int gravity = 0,
Color backgroundColor = const Color(0xAA000000),
TextStyle textStyle = const TextStyle(fontSize: 15, color: Colors.white),
double backgroundRadius = 20,
bool rootNavigator = false,
Border? border,
}) {
ToastView.dismiss();
ToastView.createView(
msg,
context,
duration,
gravity,
backgroundColor,
textStyle,
backgroundRadius,
border,
rootNavigator: rootNavigator,
);
}