Alert class

Constructors

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

Properties

alertAnimation → AlertAnimation?
final
buttons → List<DialogButton>?
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
onWillPopActive → bool
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