XMessageOverlay class

Constructors

XMessageOverlay()

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

getMainColor(MessageType type, BuildContext context) Color
showMessage(String message, {String title = "提示", Alignment alignment = Alignment.topRight, MessageType type = MessageType.info, int duration = 3, double width = 300, double height = 70, bool autoRemove = true, double offsetX = 45, double offsetY = 35, double stackOffsetX = 3, double stackOffsetY = 3, BuildContext? context}) → void