Skip to content

Error: Type 'PopInvokedWithResultCallback' not found. #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chasonHgg opened this issue Oct 28, 2024 · 1 comment
Closed

Error: Type 'PopInvokedWithResultCallback' not found. #139

chasonHgg opened this issue Oct 28, 2024 · 1 comment

Comments

@chasonHgg
Copy link

chasonHgg commented Oct 28, 2024

flutter: 3.4.3
version: 2.2.0
use:
showOkAlertDialog(
context: context,
title: "xxxx",
message: "22222",
);

error:

./../../.pub-cache/hosted/pub.dev/adaptive_dialog-2.2.0/lib/src/modal_action_sheet/modal_action_sheet.dart:27:3: Error: Type
'PopInvokedWithResultCallback' not found.
PopInvokedWithResultCallback? onPopInvokedWithResult,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/adaptive_dialog-2.2.0/lib/src/text_input_dialog/show_text_answer_dialog.dart:25:3: Error: Type
'PopInvokedWithResultCallback' not found.
PopInvokedWithResultCallback<List?>? onPopInvokedWithResult,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/adaptive_dialog-2.2.0/lib/src/text_input_dialog/show_text_input_dialog.dart:28:3: Error: Type
'PopInvokedWithResultCallback' not found.
PopInvokedWithResultCallback<List?>? onPopInvokedWithResult,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/adaptive_dialog-2.2.0/lib/src/alert_dialog/show_alert_dialog.dart:32:3: Error: Type 'PopInvokedWithResultCallback' not
found.
PopInvokedWithResultCallback? onPopInvokedWithResult,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/adaptive_dialog-2.2.0/lib/src/alert_dialog/show_confirmation_dialog.dart:36:3: Error: Type
'PopInvokedWithResultCallback' not found.
PopInvokedWithResultCallback? onPopInvokedWithResult,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@mono0926
Copy link
Owner

mono0926 commented Oct 28, 2024

Please take a look at this: #135 (comment)

@github-project-automation github-project-automation bot moved this from Todo to Done in mono OSS Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants