mcrovero / rubber

An elastic material bottom sheet implementation for Flutter.
BSD 2-Clause "Simplified" License
562 stars 88 forks source link

Support flutter 2.0 #64

Closed HZRZCW closed 3 years ago

HZRZCW commented 3 years ago

Please support flutter 2.0.

RyanRamchandar commented 3 years ago

I think you mean support null-safety. That would be a more correct title.

This package only has one dependency that needs to be converted first: after_layout. But that package hasn't been updated in years. However, since that package is only 15 lines, it can be included in this one and drop the explicit dependency. Then just run dart migrate on it.

See: https://github.com/fluttercommunity/flutter_after_layout/issues/15#issuecomment-793120531

HZRZCW commented 3 years ago

I think you mean support null-safety. That would be a more correct title.

This package only has one dependency that needs to be converted first: after_layout. But that package hasn't been updated in years. However, since that package is only 15 lines, it can be included in this one and drop the explicit dependency. Then just run dart migrate on it.

See: fluttercommunity/flutter_after_layout#15 (comment)

You are right,thanks.