Skip to content
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

[Bug report] Please modify typedef #556

Open
tgloc opened this issue Mar 3, 2023 · 0 comments
Open

[Bug report] Please modify typedef #556

tgloc opened this issue Mar 3, 2023 · 0 comments

Comments

@tgloc
Copy link

tgloc commented Mar 3, 2023

Version

3.3.10

Platforms

dart

Device Model

No

flutter info

No

How to reproduce?

typedef SlideEndHandler = bool? Function(
  Offset offset, {
  ExtendedImageSlidePageState state,
  ScaleEndDetails details,
});

You can see the arguments state and details is bad syntax of Dart for now
Please change it to

typedef SlideEndHandler = bool? Function(
  Offset offset, {
  required ExtendedImageSlidePageState state,
  required ScaleEndDetails details,
});

Logs

No

Example code (optional)

No

Contact

[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant