SnackBarUtils extension

on

Methods

copyToClipboard(String text, {bool showCopiedInfo = true}) → dynamic

Available on BuildContext, provided by the SnackBarUtils extension

hideMessageById(String id) → dynamic

Available on BuildContext, provided by the SnackBarUtils extension

showMessage(String message, {String title = "Message", Widget? titleWidget, Widget? messageWidget, MessageType type = MessageType.info, MessageStyle style = MessageStyle.flatColored, bool autoClose = true, int autoCloseDurationSeconds = 5, Alignment alignment = Alignment.bottomRight, TextDirection textDirection = TextDirection.ltr, bool showAnimation = false, int animationDurationMillis = 300, Widget? customIcon}) String?

Available on BuildContext, provided by the SnackBarUtils extension

Use showMessage If you are not using PlexApp, If you are using the PlexApp use showMessage without context
showMessageDelayed(String message, {int delayMilliseconds = 100, String title = "Message", Widget? titleWidget, Widget? messageWidget, MessageType type = MessageType.info, MessageStyle style = MessageStyle.flatColored, bool autoClose = true, int autoCloseDurationSeconds = 5, Alignment alignment = Alignment.bottomRight, TextDirection textDirection = TextDirection.ltr, bool showAnimation = false, int animationDurationMillis = 300, Widget? customIcon}) Future<String?>

Available on BuildContext, provided by the SnackBarUtils extension

showSnackBar(String message) String?

Available on BuildContext, provided by the SnackBarUtils extension