show static method
void
show(
- BuildContext context, {
- required String msg,
- int showTime = 2000,
- Color? bgColor,
- Color? textColor,
- double textSize = 14,
- VxToastPosition position = VxToastPosition.bottom,
- double pdHorizontal = 20,
- double pdVertical = 10,
Implementation
static void show(
BuildContext context, {
required String msg,
int showTime = 2000,
Color? bgColor,
Color? textColor,
double textSize = 14,
VxToastPosition position = VxToastPosition.bottom,
double pdHorizontal = 20,
double pdVertical = 10,
}) {
_showToast(
context,
msg: msg,
showTime: showTime,
bgColor: bgColor,
textColor: textColor,
textSize: textSize,
position: position,
pdHorizontal: pdHorizontal,
pdVertical: pdVertical,
type: VxToastType.text,
);
}