Could you please confirm your requirement whether you would like to add the two controls (Bottom Sheet and Floating Action Button) as you see in the below images? OR, would you like to use these two controls separately for any other scenario?
Image -1: Initial state with Floating action button.
Image-2: When clicking on the Floating action button, it moves to top, and Bottom Sheet shows. When you click again, it will move to the Image-1 state vice versa.
Please confirm your exact requirement. So that, we could analyze based on that and provide you solution earlier.