DRSchlaubi / contact_picker

A Flutter plugin for picking a contact from the address book.
https://pub.dev/packages/fluttercontactpicker
BSD 3-Clause "New" or "Revised" License
18 stars 37 forks source link

Make nullsafety the default version #25

Closed DRSchlaubi closed 3 years ago

DRSchlaubi commented 3 years ago

Currently needs meta and plugin_platform_interface to do the same

firatcetiner commented 3 years ago

@DRSchlaubi meta, plugin_platform_interface, and js packages have been opted-in into null-safety as the default version. Are you able to migrate the contact_picker_platform_interface and contact_picker_web into null safety as well? I can offer a little help if you need it.

DRSchlaubi commented 3 years ago

There already is a null sagte version: https://pub.dev/packages/fluttercontactpicker/versions/4.3.0-nullsafety.5

I can't use my pc right now so it might take some time

firatcetiner commented 3 years ago

There already is a null sagte version: https://pub.dev/packages/fluttercontactpicker/versions/4.3.0-nullsafety.5

I can't use my pc right now so it might take some time

Yeah but it depends on plugin_platform_interface ^1.1.0-nullsafety.1, thus conflicts with some other packages. For example: firebase_messaging

DRSchlaubi commented 3 years ago

Gott my PC working again will publish new version shortly

firatcetiner commented 3 years ago

@DRSchlaubi The current Dart SDK version is 2.12.0 on the latest Flutter stable channel and since this plugin depends on >=2.12.1 <3.0.0 it cannot be used right now on the stable channel.

DRSchlaubi commented 3 years ago

I just took the version which snap installed me I lowered the sdk constraints to 2.12.0

firatcetiner commented 3 years ago

Awesome. Thanks for the very quick responses!