showError function

dynamic showError(
  1. String content
)

Implementation

showError(String content) async {
  BotToast.showSimpleNotification(
    title: content,
    onlyOne: false,
    hideCloseButton: true,
    backgroundColor: const Color(0xFFFF5B5B),
    titleStyle: const TextStyle(
      color: Colors.white,
    ),
  );
}