toast function

void toast(
  1. String message, {
  2. required BuildContext context,
  3. Duration? duration,
  4. TextStyle? textStyle,
})

Implementation

void toast(String message, {required BuildContext context, Duration? duration, TextStyle? textStyle}) async{
  NUIToast.toast(context, message, duration: duration, textStyle: textStyle);
}