ArcticZeroo / flutter-search-bar

(mostly) Automatic search-enabled appBar for flutter
BSD 3-Clause "New" or "Revised" License
266 stars 69 forks source link

Error when trying example on Flutter 0.2.8 and Dart 2.0.0 #15

Closed rodydavis closed 6 years ago

rodydavis commented 6 years ago

The following assertion was thrown building Builder: type '(() => void) => void' is not a subtype of type '(dynamic) => void' Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.

rodydavis commented 6 years ago

[flutter] flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel beta, v0.2.8, on Mac OS X 10.13.3 17D102, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) [✓] iOS toolchain - develop for iOS devices (Xcode 9.3) [✓] Android Studio (version 3.0) [✓] VS Code (version 1.22.2) [✓] Connected devices (4 available)

• No issues found! exit code 0

ArcticZeroo commented 6 years ago

I cannot reproduce on my Pixel 2 XL;

[√] Flutter (Channel beta, v0.2.8, on Microsoft Windows [Version 10.0.16299.371], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.1)
[√] IntelliJ IDEA Ultimate Edition (version 2017.2)
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
[√] Connected devices (1 available)

• No issues found!

I did find an issue with the search bar package being missing from the pubspec, I don't think that would cause it though (you'd be getting an error regarding being unable to resolve the import)

Which line was that thrown on?

rodydavis commented 6 years ago

I think I got it to resolve, but not sure what I did. I will reopen If it happens again.