doonfrs / pluto_grid_plus

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.
https://pluto.weblaze.dev
MIT License
18 stars 20 forks source link

The argument type 'KeyEvent' can't be assigned to the parameter type 'RawKeyEvent' #47

Closed johnzhu123 closed 2 months ago

johnzhu123 commented 2 months ago

I'm using pluto_grid_plus: 8.4.0 I can't use 8.4.1, cause there is dependency conflict in my project

Resolving dependencies... 
Note: intl is pinned to version 0.18.1 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Because every version of flutter_test from sdk depends on intl 0.18.1 and pluto_grid_plus >=8.4.1 depends on intl ^0.19.0,
  flutter_test from sdk is incompatible with pluto_grid_plus >=8.4.1.
So, because iconsole depends on both pluto_grid_plus ^8.4.1 and flutter_test from sdk, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on pluto_grid_plus: flutter pub add pluto_grid_plus:^8.4.0

/lib/src/manager/shortcut/pluto_grid_shortcut.dart:33:39: Error: The argument type 'KeyEvent' can't be assigned to the parameter type 'RawKeyEvent'.

not like this one: https://github.com/doonfrs/pluto_grid_plus/issues/6

the message is opposite

I really need this to customize the filter widgets

use this locally is also an option, if can remove all the errors

johnzhu123 commented 2 months ago

ok,8.4.1 is ok, need to upgrade everything, will close this one