-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The non-abstract class 'InputConnectionController' is missing implementations for these members: - TextInputClient.currentTextEditingValue #222
Comments
same issue |
This is still an issue in the most recent version! Maybe try implementing the fix and releasing a new version? |
This keeps coming up with people using Flutter master or dev channels. Note that Zefyr currently only supports stable versions of Flutter. Moreover published versions of this package will always target Flutter stable only. We could potentially have some sort of -dev version published that covers changes from Flutter master but I’m not sure if it’s worth extra effort. I’d like to have some sort of support for this scenario though. Current thinking is to make Zefyr master branch track Flutter master. This has a downside of tying Zefyr release cycle to Flutter and forcing users of stable channel to switch to master to get latest fixes. Note that if we use this strategy there will be no pub releases for changes in master so people using this version will have to use git repo dependency in their pubspec. This is somewhat similar to discussion in #205 and @TimWhiting suggestion. |
same issue. |
I am running on the MASTER channel of Flutter. The code changes i made: What does not work:
Then i tried running on the STABLE channel. But it was impossible to run Flutter web.
You need to be on BETA channel in order to run Flutter Web: So, then i tried running on the BETA channel. Everything worked pretty much !! SO, i was wondering if we can flip over to flutter beta channel so that we can get Flutter Web nice and stable ? |
DEV channel works better actually. |
Hi @winwisely99, what version of the flutter are you using as I checked on beta and dev, and on both without luck. With error:
My version is:
and
|
Using beta. I forked it: github.com/winwisely99/zefyr.git Just a slight change to make it work. |
It works! Thank you @winwisely99 🙇 |
Anyone got this to work on macos target? |
Just some more ideas on the flutter channels and this package versioning
They wouldn't necessarily have to switch to master for latest fixes. They might be able to switch to a flutter beta or dev channel release that Zefyr master is compatible with. I think Zefyr has greater problems with the flutter versioning issue than other libraries because it is tied closely to the implementation of flutter's text field etc. Hopefully after the refactors to enable web and desktop there shouldn't be as many breaking changes as far as the text field's api in flutter. It might just require some documentation in Zefyr master's CHANGELOG.md on which flutter version/s the Zefyr version is compatible / tested with. You could also specify the flutter version requirements in the
Or if Zefyr master tracks Flutter master than you could publish -dev versions as suggested. It seems like that is what the pub package publishing guidelines recommends for packages that depend on flutter versions: |
thanks @winwisely99 🥇
|
@zeusbaba
|
I tested it with |
Is there a more recent solution for running zefyr on flutter web right now?
This is the error:
|
If you're using Flutter's master channel you can try switching to the master branch in this repo instead of using a fork. That said, I haven't tested Zefyr on the web platform and it is likely to lack some features. The good news is I'm looking into issues with desktop support right now, so this should address the web platform as well. |
Awesome! |
@pulyaevskiy For image picking for web there is plugin: image_picker_for_web, check the online web demo: https://dit-picker-tests.web.app/ |
on channel dev I've just copy and paste the lib folder available on github '/packages/zefyr/lib' and paste it in pub.dartlang.org/zefyr-0.10.0 to override the lib folder. I works just fine. |
Steps to Reproduce
Building of my application not possible anymore while using zefyr 0.8.0 and flutter channel master (v1.13.3-pre.60) because of InputConnectionController not implementing currentTextEditingValue.
Fixed by implementing currentTextEditingValue in InputConnectionController:
masewo@2e37998
The text was updated successfully, but these errors were encountered: