PopupDialog class
- Available extensions
Constructors
-
PopupDialog.new({PopupHeader header = const PopupHeader(), PopupContent content = const PopupContent(), PopupConfig config = const PopupConfig(), List<
Widget> buttons = const []}) -
const
Properties
-
final
- config → PopupConfig
-
final
- content → PopupContent
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → PopupHeader
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
choose(
{required BuildContext context, required String title, required String message, required List< PopupOption> options, Icon? icon}) → Future -
dialog(
{required BuildContext context, required PopupType type, required String title, required String message, String? buttonLabel, Color? buttonColor, Icon? icon, List< Widget> buttons = const []}) → Future -
error(
{required BuildContext context, required String title, required String message}) → Future -
Available on PopupDialog, provided by the PopupDialogMessage extension
-
info(
{required BuildContext context, required String title, required String message}) → Future -
Available on PopupDialog, provided by the PopupDialogMessage extension
-
input(
BuildContext context, {required String title, required String? message, required String label, PopupButton? confirmButton, PopupButton? cancelButton, Icon? icon, FormFieldValidator? validator, TextInputType? keyboardType, String? initialValue}) → Future -
message(
{required BuildContext context, required PopupType type, required String title, required String message, String? buttonLabel, Color? buttonColor, Icon? icon}) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
question(
{required BuildContext context, PopupType type = PopupType.question, required String title, required String message, PopupButton? confirmButton, PopupButton? cancelButton, Icon? icon}) → Future -
show(
BuildContext context) → Future -
success(
{required BuildContext context, required String title, required String message}) → Future -
Available on PopupDialog, provided by the PopupDialogMessage extension
-
toString(
) → String -
A string representation of this object.
inherited
-
warning(
{required BuildContext context, required String title, required String message}) → Future -
Available on PopupDialog, provided by the PopupDialogMessage extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited