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

Not compatible with flutter 3.13.0 #366

Closed
river2202 opened this issue Aug 21, 2023 · 2 comments
Closed

Not compatible with flutter 3.13.0 #366

river2202 opened this issue Aug 21, 2023 · 2 comments

Comments

@river2202
Copy link

Got following error

../../../../../.pub-cache/hosted/pub.dev/sheet-1.0.0-pre/lib/src/scrollable.dart:313:7: Error: The non-abstract class 'SheetState' is missing implementations for these members:
 - ScrollContext.devicePixelRatio
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class SheetState extends State<SheetScrollable>
@maRci002
Copy link
Contributor

PR #365 should resolve this problem. The current workaround for using the PR commit in pubspec.yaml is: (if you are using the sheet package directly, then override it in dependencies. If you are using the modal_bottom_sheet package, then override it in dependency_overrides)

dependency_overrides:
  sheet:
    git:
      url: https://github.com/jamesblasco/modal_bottom_sheet.git
      ref: 471c15c92b1410a710020de01569b74535456ddd
      path: sheet

@jamesblasco
Copy link
Owner

The new version should work with latest Flutter 3.19.0

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

3 participants