showTimedMetadata static method
void
showTimedMetadata(})
Implementation
static void showTimedMetadata(String message,
{int time = 1, Alignment align = const Alignment(0, 0.8)}) {
BotToast.showText(
align: align,
wrapToastAnimation: (controller, cancelFunc, widget) =>
AnimatedTextWidget(
text: message, duration: Duration(seconds: time)),
onlyOne: false,
textStyle: GoogleFonts.inter(fontSize: 14),
text: message,
contentColor: Colors.black87,
duration: Duration(seconds: time));
}