SmartEdgeAlert class

SmartEdgeAlert class provides functionality to display an interrupted smart alert from the top or bottom of the screen.

Constructors

SmartEdgeAlert()

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

show(BuildContext context, {String? title, double? titleFontSize, String? description, double? descriptionFontSize, Color? backgroundColor, Color? closeButtonColor, IconData? icon, int? duration, int? gravity}) → void
Displays a smart alert with the provided parameters.

Constants

bottom → const int
Constant representing the bottom gravity for displaying alerts.
lengthLong → const int
Duration for long alerts (3 seconds).
lengthShort → const int
Duration for short alerts (1 second).
lengthVeryLong → const int
Duration for very long alerts (5 seconds).
top → const int
Constant representing the top gravity for displaying alerts.