Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Launching lib/main.dart on AOSP on IA Emulator in debug mode...
- main.dart:1
- : Error: The method 'PageMetrics.copyWith' doesn't have the named parameter 'devicePixelRatio' of overridden method 'Object with ScrollMetrics.copyWith'.
- preload_page_view.dart:179
- PageMetrics copyWith({
- ^
- : Context: This is the overridden method ('copyWith').
- scroll_metrics.dart:138
- class FixedScrollMetrics with ScrollMetrics {
- ^
- : Error: The method '_PagePosition.copyWith' doesn't have the named parameter 'devicePixelRatio' of overridden method 'ViewportOffset with ScrollMetrics.copyWith'.
- preload_page_view.dart:302
- PageMetrics copyWith({
- ^
- : Context: This is the overridden method ('copyWith').
- scroll_position.dart:92
- abstract class ScrollPosition extends ViewportOffset with ScrollMetrics {
- ^
- : Error: Required named parameter 'devicePixelRatio' must be provided.
- preload_page_view.dart:170
- }) : super(
- ^
- : Error: The method 'copyWith' isn't defined for the class 'RouteSettings'.
- fluro_router.dart:134
- - 'RouteSettings' is from 'package:flutter/src/widgets/navigator.dart' ('../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/navigator.dart').
- navigator.dart:1
- Try correcting the name to the name of an existing method, or defining a method named 'copyWith'.
- settingsToUse = settingsToUse.copyWith(name: path);
- ^^^^^^^^
- Target kernel_snapshot failed: Exception
- 2
- FAILURE: Build completed with 2 failures.
- 1: Task failed with an exception.
- -----------
- * Where:
- Script '/home/anderson/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1201
- * What went wrong:
- Execution failed for task ':app:compileFlutterBuildDebug'.
- > Process 'command '/home/anderson/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1
- * Try:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement