Error: Required named parameter 'devicePixelRatio' must be provided – Flutter
I build a flutter app but run into error /C:/Users/david.huang/AppData/Local/Pub/Cache/hosted/pub.dev/sync_scroll_library-1.0.1/lib/src/gesture/gesture_state_mixin.dart:6:49: Error: Required named parameter 'devicePixelRatio' must be provided. final PageMetrics _testPageMetrics = PageMetrics( ^ /C:/flutter/packages/flutter/lib/src/widgets/page_view.dart:266:3: Context: Found this candidate, but the arguments don't match. PageMetrics({ ^^^^^^^^^^^ Failed to compile application.…