You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2018. It is now read-only.
There is no docuentation how to use this plugin. I know that it is work in progress but a few lines of how to build use this would be very helpful. I tried to load this as a flutter example and get all kinds analyzer errors.
C:\Projects\sigurd_camera>flutter analyze
Analyzing C:\Projects\sigurd_camera...
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' at example\lib\main.dart:39:14 - strong_mode_invalid_cast_new_expr
error - Undefined class 'Texture' at example\lib\main.dart:39:18 - undefined_class
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' at example\lib\main.dart:144:21 - strong_mode_invalid_cast_new_expr
error - Undefined class 'Texture' at example\lib\main.dart:144:25 - undefined_class
error - Target of URI doesn't exist: 'package:flutter_test/flutter_test.dart' at example\test\widget_test.dart:8:8 - uri_does_not_exist
error - The function 'testWidgets' isn't defined at example\test\widget_test.dart:13:3 - undefined_function
error - Undefined class 'WidgetTester' at example\test\widget_test.dart:13:49 - undefined_class
error - Undefined class 'MyApp' at example\test\widget_test.dart:15:33 - undefined_class
error - The function 'expect' isn't defined at example\test\widget_test.dart:18:5 - undefined_function
error - Undefined name 'find' at example\test\widget_test.dart:18:12 - undefined_identifier
error - Undefined name 'findsOneWidget' at example\test\widget_test.dart:18:28 - undefined_identifier
error - The function 'expect' isn't defined at example\test\widget_test.dart:19:5 - undefined_function
error - Undefined name 'find' at example\test\widget_test.dart:19:12 - undefined_identifier
error - Undefined name 'findsNothing' at example\test\widget_test.dart:19:28 - undefined_identifier
error - Undefined name 'find' at example\test\widget_test.dart:22:22 - undefined_identifier
error - The function 'expect' isn't defined at example\test\widget_test.dart:26:5 - undefined_function
error - Undefined name 'find' at example\test\widget_test.dart:26:12 - undefined_identifier
error - Undefined name 'findsNothing' at example\test\widget_test.dart:26:28 - undefined_identifier
error - The function 'expect' isn't defined at example\test\widget_test.dart:27:5 - undefined_function
error - Undefined name 'find' at example\test\widget_test.dart:27:12 - undefined_identifier
error - Undefined name 'findsOneWidget' at example\test\widget_test.dart:27:28 - undefined_identifier
hint - Unused import at example\test\widget_test.dart:10:8 - unused_import
C:\Projects\sigurd_camera\example>flutter analyze
Analyzing C:\Projects\sigurd_camera\example...
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' at lib\main.dart:39:14 - strong_mode_invalid_cast_new_expr
error - Undefined class 'Texture' at lib\main.dart:39:18 - undefined_class
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' at lib\main.dart:144:21 - strong_mode_invalid_cast_new_expr
error - Undefined class 'Texture' at lib\main.dart:144:25 - undefined_class
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' at test\widget_test.dart:15:29 - strong_mode_invalid_cast_new_expr
error - Undefined class 'MyApp' at test\widget_test.dart:15:33 - undefined_class
hint - Unused import at test\widget_test.dart:10:8 - unused_import
7 issues found.
(Ran in 6.2s)
C:\Projects\sigurd_camera\example>
C:\Projects\sigurd_camera\example>flutter doctor
[√] Flutter (on Microsoft Windows [Version 10.0.16299.64], locale en-US, channel alpha)
• Flutter at c:\sdks\flutter
• Framework revision e8aa40eddd (5 weeks ago), 2017-10-17 15:42:40 -0700
• Engine revision 7c4142808c
• Tools Dart version 1.25.0-dev.11.0
[√] Android Studio (version 3.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] IntelliJ IDEA Community Edition (version 2017.2)
• Flutter plugin version 19.1
• Dart plugin version 172.4343.25
[√] Connected devices
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)
C:\Projects\sigurd_camera\example>
The text was updated successfully, but these errors were encountered:
There is no docuentation how to use this plugin. I know that it is work in progress but a few lines of how to build use this would be very helpful. I tried to load this as a flutter example and get all kinds analyzer errors.
C:\Projects\sigurd_camera>flutter analyze
Analyzing C:\Projects\sigurd_camera...
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' at example\lib\main.dart:39:14 - strong_mode_invalid_cast_new_expr
error - Undefined class 'Texture' at example\lib\main.dart:39:18 - undefined_class
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' at example\lib\main.dart:144:21 - strong_mode_invalid_cast_new_expr
error - Undefined class 'Texture' at example\lib\main.dart:144:25 - undefined_class
error - Target of URI doesn't exist: 'package:flutter_test/flutter_test.dart' at example\test\widget_test.dart:8:8 - uri_does_not_exist
error - The function 'testWidgets' isn't defined at example\test\widget_test.dart:13:3 - undefined_function
error - Undefined class 'WidgetTester' at example\test\widget_test.dart:13:49 - undefined_class
error - Undefined class 'MyApp' at example\test\widget_test.dart:15:33 - undefined_class
error - The function 'expect' isn't defined at example\test\widget_test.dart:18:5 - undefined_function
error - Undefined name 'find' at example\test\widget_test.dart:18:12 - undefined_identifier
error - Undefined name 'findsOneWidget' at example\test\widget_test.dart:18:28 - undefined_identifier
error - The function 'expect' isn't defined at example\test\widget_test.dart:19:5 - undefined_function
error - Undefined name 'find' at example\test\widget_test.dart:19:12 - undefined_identifier
error - Undefined name 'findsNothing' at example\test\widget_test.dart:19:28 - undefined_identifier
error - Undefined name 'find' at example\test\widget_test.dart:22:22 - undefined_identifier
error - The function 'expect' isn't defined at example\test\widget_test.dart:26:5 - undefined_function
error - Undefined name 'find' at example\test\widget_test.dart:26:12 - undefined_identifier
error - Undefined name 'findsNothing' at example\test\widget_test.dart:26:28 - undefined_identifier
error - The function 'expect' isn't defined at example\test\widget_test.dart:27:5 - undefined_function
error - Undefined name 'find' at example\test\widget_test.dart:27:12 - undefined_identifier
error - Undefined name 'findsOneWidget' at example\test\widget_test.dart:27:28 - undefined_identifier
hint - Unused import at example\test\widget_test.dart:10:8 - unused_import
C:\Projects\sigurd_camera\example>flutter analyze
Analyzing C:\Projects\sigurd_camera\example...
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' at lib\main.dart:39:14 - strong_mode_invalid_cast_new_expr
error - Undefined class 'Texture' at lib\main.dart:39:18 - undefined_class
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' at lib\main.dart:144:21 - strong_mode_invalid_cast_new_expr
error - Undefined class 'Texture' at lib\main.dart:144:25 - undefined_class
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' at test\widget_test.dart:15:29 - strong_mode_invalid_cast_new_expr
error - Undefined class 'MyApp' at test\widget_test.dart:15:33 - undefined_class
hint - Unused import at test\widget_test.dart:10:8 - unused_import
7 issues found.
(Ran in 6.2s)
C:\Projects\sigurd_camera\example>
C:\Projects\sigurd_camera\example>flutter doctor
[√] Flutter (on Microsoft Windows [Version 10.0.16299.64], locale en-US, channel alpha)
• Flutter at c:\sdks\flutter
• Framework revision e8aa40eddd (5 weeks ago), 2017-10-17 15:42:40 -0700
• Engine revision 7c4142808c
• Tools Dart version 1.25.0-dev.11.0
[√] Android toolchain - develop for Android devices (Android SDK 27.0.1)
• Android SDK at c:\Users\ride4\AppData\Local\Android\sdk
• Platform android-27, build-tools 27.0.1
• ANDROID_HOME = c:\Users\ride4\AppData\Local\Android\sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] Android Studio (version 3.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] IntelliJ IDEA Community Edition (version 2017.2)
• Flutter plugin version 19.1
• Dart plugin version 172.4343.25
[√] Connected devices
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)
C:\Projects\sigurd_camera\example>
The text was updated successfully, but these errors were encountered: