ToastOverlay class abstract
Abstract interface for controlling individual toast notification instances.
ToastOverlay provides methods for managing the lifecycle and state of individual toast notifications after they have been displayed. Instances are returned by showToast and passed to ToastBuilder functions.
The interface allows checking the current display state and programmatically dismissing toast notifications, enabling responsive user interactions and proper cleanup when needed.
Constructors
Properties
Methods
-
close(
) → void - Programmatically dismisses the toast notification.
-
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