-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed
Labels
c: crashStack traces logged to the consoleStack traces logged to the consoleteam-codelabsOwned by Codelabs teamOwned by Codelabs team
Description
Line 142 will not compile of step 6 will not compile.
Line 135 of step 5.
itemBuilder: (_, DataSnapshot snapshot, Animation<double> animation) {
return new ChatMessage(
snapshot: snapshot,
animation: animation
);
},
error: The argument type '(BuildContext, DataSnapshot, Animation<double>) → ChatMessage' can't be assigned to the parameter type '(BuildContext, DataSnapshot, Animation<double>, int) → Widget'. (argument_type_not_assignable at [clearfocussports] lib\main.dart:142)
FYI I am using community edition for flutter.
[√] Flutter (Channel beta, v0.1.5, on Microsoft Windows [Version 10.0.16299.248], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.0)
[√] IntelliJ IDEA Community Edition (version 2017.3)
[!] IntelliJ IDEA Ultimate Edition (version 2016.3)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
X This install is older than the minimum recommended version of 2017.1.0.
[√] Connected devices (1 available)
! Doctor found issues in 1 category.
PS C:\Users\TheBeast\IdeaProjects\clearfocussports> flutter doctor -v
[√] Flutter (Channel beta, v0.1.5, on Microsoft Windows [Version 10.0.16299.248], locale en-US)
• Flutter version 0.1.5 at E:\devTools\flutter
• Framework revision 3ea4d06340 (2 weeks ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\Users\TheBeast\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = C:\Users\TheBeast\AppData\Local\Android\Sdk
• Java binary at: E:\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 E:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] IntelliJ IDEA Community Edition (version 2017.3)
• Flutter plugin version 22.2.2
• Dart plugin version 173.4548.30
[!] IntelliJ IDEA Ultimate Edition (version 2016.3)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
X This install is older than the minimum recommended version of 2017.1.0.
[√] Connected devices (1 available)
• Moto G 4 • ZY223TFZPN • android-arm • Android 7.0 (API 24)
! Doctor found issues in 1 category.
Metadata
Metadata
Assignees
Labels
c: crashStack traces logged to the consoleStack traces logged to the consoleteam-codelabsOwned by Codelabs teamOwned by Codelabs team