HcAlert class
Constructors
-
HcAlert({required BuildContext context, HcAlertType type = HcAlertType.none, HcAlertStyle style = const HcAlertStyle(), Image? image, String? title, String? desc, Widget? content, List<
HcDialogButton> ? buttons}) -
context
,title
are required.
Properties
-
final
- content → Widget?
-
final
- context → BuildContext
-
final
- desc → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → Image?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → HcAlertStyle
-
final
- title → String?
-
final
- type → HcAlertType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
previewImage(
) → void - Displays defined alert window
-
show(
) → void - Displays defined alert window
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited