drogel / keyboard_attachable

A Flutter package to build widgets that can be attached to the soft keyboard.
MIT License
58 stars 24 forks source link

Migrating to null safety #15

Closed maksym-letiushov closed 3 years ago

maksym-letiushov commented 3 years ago

I was wondering if there is already a roadmap for migrating this library to null safety? https://dart.dev/null-safety/migration-guide

drogel commented 3 years ago

Hi @maximletushov, thanks for bringing this issue to my attention.

Right now there is no defined roadmap for null safety migration, but that does not mean that I am not planning on migrating the package to null safety at some point.

This package is fairly simple, so it should not be very hard to do it. The only difficulty I see is that this package depends on another package (flutter_keyboard_visibility), and I'm not sure if that package has been migrated yet.

maksym-letiushov commented 3 years ago

@drogel thank you for great package and your support ! I opened the same issue in flutter_keyboard_visibility https://github.com/MisterJimson/flutter_keyboard_visibility/issues/49

drogel commented 3 years ago

Perfect, I will keep an eye on it. Thanks a lot!

maksym-letiushov commented 3 years ago

Hi @drogel Null safety is released in Dart 2.12 https://medium.com/dartlang/announcing-dart-2-12-499a6e689c87 Please take a look.

drogel commented 3 years ago

Hi @maximletushov & @Jjagg,

Just writing to let you know that a null-safety compatible version of keyboard_attachable has been just released. Check out

https://pub.dev/packages/keyboard_attachable

for the 2.0.0 version! 🎉

Thanks @Jjagg for your help with the migration, and @maximletushov for being up-to-date with Dart null safe releases.