VAlert class

@author: wzp_vicky @time: 2023年9月14日08:21:08 @version: V1.1 @description:

Constructors

VAlert.new({required BuildContext context, String? id, VAlertConfig style = const VAlertConfig(), EdgeInsets? padding, String? title, String? desc, Widget content = const SizedBox(), List<Widget>? buttons, Function? closeFunction, Widget? closeIcon, bool onWillPopActive = true, AlertAnimation? alertAnimation, bool useRootNavigator = true})

Properties

alertAnimation AlertAnimation?
final
buttons List<Widget>?
final
closeFunction Function?
final
closeIcon Widget?
final
content Widget
final
context BuildContext
final
desc String?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
onWillPopActive bool
final
padding EdgeInsets?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style VAlertConfig
final
title String?
final
useRootNavigator bool
final

Methods

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

Operators

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