jamesblasco / modal_bottom_sheet

Flutter | Create advanced modal bottom sheets. Material, Cupertino or your own style
https://pub.dev/packages/modal_bottom_sheet
MIT License
1.89k stars 475 forks source link

Migration to Flutter 3.7 #325

Open jamesblasco opened 1 year ago

jamesblasco commented 1 year ago

Hi there,

Flutter 3.7 has been released in Flutter Forward and it comes with several breaking changes that affects modal_bottom_sheet and sheet. I have released a preview package for both that will support this new version of the framework.

I am right now on vacation with no much internet connection but I have done my best to make it work for all you until I can get my hands on it properly.

modal_bottom_sheet:

sheet:

Once I am back, I will look more closely what can be improved before launching as stable this new mayor version.

Thanks for the understanding!

AliPunjabi commented 1 year ago

I am getting this error Because country_code_picker 2.0.2 depends on modal_bottom_sheet ^2.0.0 and no versions of country_code_picker match >2.0.2 <3.0.0, country_code_picker ^2.0.2 requires modal_bottom_sheet ^2.0.0. So, because <project> depends on both modal_bottom_sheet ^3.0.0-pre and country_code_picker ^2.0.2, version solving failed. pub get failed

alexda12 commented 1 year ago

@AliPunjabi This isnt a bug/error in modal_bottom_sheet - The clue is in the useful message that is displayed ... you need to also update your other dependencies...

mnismt commented 1 year ago

@AliPunjabi You should update the version of country_code_picker in pubspec.yaml to country_code_picker: ^3.0.0.

luohao123 commented 1 year ago

Hello, Am using modal_bottom_sheet 3.0.0Pre, the code can built, but the animations are gone, when show bottom sheet, there is no animtion!!

mgaucher commented 1 year ago

Hi, Same problem, animations are gone on Android Samsung galaxy s20, bottom sheet pop from nowhere with showMaterialModalBottomSheet method

luohao123 commented 1 year ago

@jamesblasco Please take a look, thank u!

nashihu commented 1 year ago

hope your vacation goes well @jamesblasco . here now we have flutter 3.10.0 ,, please come back to us