Alert class

Constructors

Alert({required BuildContext context, String? id, Types? type, AlertStyle style = const AlertStyle(), Widget? image, String? title, String? desc, Widget? content, List<Widget>? buttons, Function? closeFunction, Icon? closeIcon, AlertAnimation? alertAnimation})
Alert constructor

Properties

alertAnimation → AlertAnimation?
final
buttons → List<Widget>?
final
closeFunction → Function?
final
closeIcon → Icon?
final
content → Widget?
final
context → BuildContext
final
desc → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
image → Widget?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → AlertStyle
final
title → String?
final
type → Types?
final

Methods

dismiss() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show() → Future<bool?>
Displays defined alert window
toString() → String
A string representation of this object.
inherited

Operators

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