Open miquelbeltran opened 5 years ago
I'll give this one a shot
Here's a current dilema. I'me having issues when I try to use channel master and building the app
Compiler message:
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.20.2/lib/src/platform_scaffold.dart:229:38: Error: The getter 'fullObstruction' isn't defined for the class 'ObstructingPreferredSizeWidget'.
- 'ObstructingPreferredSizeWidget' is from 'package:flutter/src/cupertino/page_scaffold.dart' ('/C:/src/flutter/packages/flutter/lib/src/cupertino/page_scaffold.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'fullObstruction'.
final obstruct = navigationBar.fullObstruction == null ||
^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.20.2/lib/src/platform_scaffold.dart:230:25: Error: The getter 'fullObstruction' isn't defined for the class 'ObstructingPreferredSizeWidget'.
- 'ObstructingPreferredSizeWidget' is from 'package:flutter/src/cupertino/page_scaffold.dart' ('/C:/src/flutter/packages/flutter/lib/src/cupertino/page_scaffold.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'fullObstruction'.
navigationBar.fullObstruction;
^^^^^^^^^^^^^^^
Exception: Errors during snapshot creation: null
#0 KernelSnapshot.build (package:flutter_tools/src/build_system/targets/dart.dart:226:7)
<asynchronous suspension>
#1 _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:526:25)
<asynchronous suspension>
#2 _BuildInstance.invokeTarget.<anonymous closure> (package:flutter_tools/src/build_system/build_system.dart:481:35)
#3 new Future.sync (dart:async/future.dart:224:31)
#4 AsyncMemoizer.runOnce (package:async/src/async_memoizer.dart:43:45)
#5 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:481:21)
and my flutter doctor
output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, v1.10.15-pre.93, on Microsoft Windows [Version 10.0.18362.418], locale en-ZA)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Android Studio (version 3.5)
[√] VS Code (version 1.39.1)
[√] Connected device (1 available)
• No issues found!
Although these issues are different, I noticed I'm hafing them now because my flutter installation is a bit ahead in terms of versions than yours. I was however able to reproduce the android errors some other time while on the stable channel for which I'll attempt to use.
While continuing on my quest I ran into this https://github.com/YoussefKababe/pinch_zoom_image/pull/11
Due to the dependency with the https://github.com/aqwert/flutter_platform_widgets/issues/90 issue, we cannot currently support master. I will update the README.md accordingly.
UPDATE
Due to the dependency with the aqwert/flutter_platform_widgets#90 issue, we cannot currently support master. I will update the README.md accordingly.
Currently the app won't build with the Flutter master channel, but it still works with stable or beta.
Flutter Doctor:
Error logs
TODO: