GithubHelp home page GithubHelp logo

Compiler error after upgrade flutter to v1.13.6-pre.16: The non-abstract class 'ChipsInputState' is missing implementations about flutter_chips_input HOT 18 CLOSED

danvick avatar danvick commented on June 5, 2024 6
Compiler error after upgrade flutter to v1.13.6-pre.16: The non-abstract class 'ChipsInputState' is missing implementations

from flutter_chips_input.

Comments (18)

mrkobby avatar mrkobby commented on June 5, 2024 4

I had the same problem

I fix it by:
Running "flutter channel stable" .
After that, "run pub get"

Done!

from flutter_chips_input.

ceppelli avatar ceppelli commented on June 5, 2024

I have the same problem !

[✓] Flutter (Channel master, v1.13.6-pre.40, on Mac OS X 10.14.6 18G87, locale en-IT)
• Flutter version 1.13.6-pre.40 at /Users/ceppelli/_programmi/flutter_dev-master
• Framework revision 43a8c24344 (2 days ago), 2019-12-29 12:28:57 -0800
• Engine revision bdc9708d23
• Dart version 2.8.0 (build 2.8.0-dev.0.0 c547f5d933)

from flutter_chips_input.

sgalway00 avatar sgalway00 commented on June 5, 2024

I am seeing the exact same problem. Any progress on this?

[✓] Flutter (Channel master, v1.13.7-pre.50, on Mac OS X 10.15.2 19C57, locale en-US)
• Flutter version 1.13.7-pre.50 at /Users/sgalway/documents/development/flutter
• Framework revision 134c2ff076 (4 hours ago), 2020-01-07 12:23:02 -0800
• Engine revision 3851981b86
• Dart version 2.8.0 (build 2.8.0-dev.0.0 2f57602411)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/sgalway/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3, Build version 11C29
• CocoaPods version 1.8.4

• No issues found!

from flutter_chips_input.

BrutalCoding avatar BrutalCoding commented on June 5, 2024

Same issue here

from flutter_chips_input.

gustavobrian avatar gustavobrian commented on June 5, 2024

Same issue here, please resolve:)

from flutter_chips_input.

danvick avatar danvick commented on June 5, 2024

Hi guys,
I'm working on this. Thanks for your patience.

from flutter_chips_input.

danvick avatar danvick commented on June 5, 2024

Hi all,
This bug is fixed in v1.7.0 of the package

from flutter_chips_input.

ceppelli avatar ceppelli commented on June 5, 2024

Thanks!!! I checked and it works!!!

from flutter_chips_input.

liugangnhm avatar liugangnhm commented on June 5, 2024
Compiler message:
/C:/Users/Administrator/AppData/Roaming/Pub/Cache/hosted/pub.flutter-io.cn/flutter_chips_input-1.7.0/lib/src/chips_input.dart:64:7: Error: The non-abstract class 'ChipsInputState' is missing implementations for these members:
 - TextInputClient.showAutocorrectionPromptRect
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class ChipsInputState<T> extends State<ChipsInput<T>>
      ^^^^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/services/text_input.dart:760:8: Context: 'TextInputClient.showAutocorrectionPromptRect' is defined here.
  void showAutocorrectionPromptRect(int start, int end);
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

flutter doctor result:

[√] Flutter (Channel master, v1.13.3-pre.60, on Microsoft Windows [Version 10.0.18362.30], locale zh-CN)

from flutter_chips_input.

JCKodel avatar JCKodel commented on June 5, 2024

Flutter 1.18.0-5.0.pre.37:

Error: The non-abstract class 'ChipsInputState' is missing implementations for these members:
 - TextInputClient.showAutocorrectionPromptRect
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class ChipsInputState<T> extends State<ChipsInput<T>>
      ^^^^^^^^^^^^^^^
/C:/Flutter/packages/flutter/lib/src/services/text_input.dart:764:8: Context: 'TextInputClient.showAutocorrectionPromptRect' is defined here.
  void showAutocorrectionPromptRect(int start, int end);
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

from flutter_chips_input.

galen211 avatar galen211 commented on June 5, 2024

Flutter (Channel master, v1.18.0-5.0.pre.39
I'm getting the same error as @JCKodel

Compiler message:
../../../../../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_chips_input-1.7.0/lib/src/chips_input.dart:64:7: Error: The non-abstract class 'ChipsInputState' is
missing implementations for these members:
 - TextInputClient.showAutocorrectionPromptRect                         
Try to either                                                           
 - provide an implementation,                                           
 - inherit an implementation from a superclass or mixin,                
 - mark the class as abstract, or                                       
 - provide a 'noSuchMethod' implementation.                             
                                                                        
class ChipsInputState<T> extends State<ChipsInput<T>>                   
      ^^^^^^^^^^^^^^^                                                   
../../../../../../flutter/packages/flutter/lib/src/services/text_input.dart:764:8: Context: 'TextInputClient.showAutocorrectionPromptRect' is defined here.
  void showAutocorrectionPromptRect(int start, int end);                
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^                       

from flutter_chips_input.

sageata avatar sageata commented on June 5, 2024

Same here.

I did:

rm ios/podfile
pod update

However, it did not fix the issue :(

from flutter_chips_input.

JCKodel avatar JCKodel commented on June 5, 2024

I had the same problem

I fix it by:
Running "flutter channel stable" .
After that, "run pub get"

Done!

This "fixes" nothing! 🤬
We MUST use non stable Flutter channel to build for Windows or Web.

from flutter_chips_input.

danvick avatar danvick commented on June 5, 2024

Hi all, this issue has been fixed in v1.8.0.

from flutter_chips_input.

buraky84 avatar buraky84 commented on June 5, 2024

still have the same error on all channels(master, stable, dev). latest version 1.8.x

from flutter_chips_input.

buraky84 avatar buraky84 commented on June 5, 2024

this worked for me. add this lib entry to pubspec.yaml
flutter_chips_input: ^1.8.0
run the project once.
you can now delete this entry.
run the project again.

looks like there is a temporary issue with pubspec cache causing this error.

from flutter_chips_input.

michalsurynt avatar michalsurynt commented on June 5, 2024

The error is still here:

Compiler message:
../../.pub-cache/hosted/pub.dartlang.org/flutter_chips_input-1.8.3/lib/src/chips_input.dart:88:7: Error: The non-abstract class 'ChipsInputState' is missing implementations for these members:
 - TextInputClient.currentAutofillScope
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class ChipsInputState<T> extends State<ChipsInput<T>>
      ^^^^^^^^^^^^^^^
../../Documents/flutter/packages/flutter/lib/src/services/text_input.dart:769:21: Context: 'TextInputClient.currentAutofillScope' is defined here.
  AutofillScope get currentAutofillScope;

flutter doctor:

[✓] Flutter (Channel beta, 1.19.0-4.1.pre, on Mac OS X 10.14.6 18G4032, locale pl-PL)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] IntelliJ IDEA Community Edition (version 2017.3.5)
[✓] VS Code (version 1.44.2)
[✓] Connected device (4 available)

adding flutter_chips_input: ^1.8.0 does not help.

from flutter_chips_input.

danvick avatar danvick commented on June 5, 2024

This is a different issue. Check #37 for fix for this.

from flutter_chips_input.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.