modal_bottom_sheet icon indicating copy to clipboard operation
modal_bottom_sheet copied to clipboard

Migration to Flutter 3.7

Open jamesblasco opened this issue 1 year ago • 7 comments

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:

  • Update to modal_bottom_sheet: ^3.0.0-pre
  • Rename any ModalBottomSheetRoute class reference to ModalSheetRoute

sheet:

  • Update to sheet: ^1.0.0-pre

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!

jamesblasco avatar Jan 28 '23 16:01 jamesblasco

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

AliPunjabi avatar Feb 03 '23 10:02 AliPunjabi

@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...

alexda12 avatar Feb 03 '23 12:02 alexda12

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

mnismt avatar Mar 12 '23 14:03 mnismt

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!!

luohao123 avatar Apr 08 '23 15:04 luohao123

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

mgaucher avatar Apr 17 '23 14:04 mgaucher

@jamesblasco Please take a look, thank u!

luohao123 avatar Apr 20 '23 15:04 luohao123

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

nashihu avatar May 15 '23 09:05 nashihu