MessagePopup class

Helper to display a popup message in UI.

Constructors

MessagePopup()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

alert(String title, {List<TextSpan> description = const [], List<Widget> additional = const [], Widget button(BuildContext) = _defaultButton}) Future<bool?>
Shows a confirmation popup with the specified title, description, and additional widgets to put under the description.
deleteButton(BuildContext context, {String? label, SvgData? icon, Key? key}) Widget
Returns the delete styled OutlinedRoundedButton.
error(dynamic e) Future<void>
Shows an error popup with the provided argument.
success(String title, {double bottom = 16, Duration duration = const Duration(seconds: 2), void onPressed()?, Offset? at}) → void
Shows a FloatingSnackBar with the title message.