Flutter - Bottom Sheet height transition - flutter

for my flutter project I need to create an animated bottom sheet in the sense that it will transition height when pressing a button... How can I do that?

I searched some flutter package because of like your reason.
I think that 'sliding_up_panel' package is what you find.
https://pub.dev/packages/sliding_up_panel

Related

How can I create animated scrollable bottomsheet in Flutter?

I would like to create a scroll up bottomsheet something like this
Right now I am working with DraggableScrollableSheet widget. But I don't know how to add animation and that handle icon that changes when the sheet goes up or down.
You can use Solid bottom sheet package from here
also bottom_sheet_bar is similar like this.
In my flutter projects I use the following package for animated bottom sheets:
https://pub.dev/packages/modal_bottom_sheet

Flutter BottomSheet At Top Of Screen?

Im Looking to integrate a sheet that drops down from the top of the screen, containing a set of buttons and textfields. However, i cant find any widget suitable for doing this. Is there a way to reposition bottomsheet to achieve this?

How to change copy/paste toolbar position in Flutter

when popup the copy/paste toolbar in flutter TextField, the tool bar on top of cutout. this is the link
https://github.com/flutter/flutter/issues/37501
any ideas how to custom the position?
This issue is solved by Google. Actually, it is a bug of Flutter

How can I attach bottom bar to top of bottom sheet?

I have a bottom container with a progress bar in it, and when i click or swipe up i need it to follow the bottom sheet as a header.
Can I attach it to the bottom sheet or can I implement it in the sheet itself and then have the sheet peek up by some offset?
I've watched all guides, tutorials and flutter demos of the first few google pages and I cant seam to find any information about it.
Please provide me some guidance so I can flutter in the right direction.
This effect can be achieved using some basic widget building.
StackView
Container: background overlay
Column: MainAxisSize.max
Container: height = (screenHeight - bottomBarHeight)
BottomBar: fixes size
Container: Bottom Dialog
Create a fullscreen stateful widget with a fixed size using MediaQuery.size.height. When tapped animate the Column up to distance you want this to go, most likely the height of the Bottom Dialog Container.
Animating the y property of the Column should get this to work fine.

Flutter overlay is moving

I'm asking how to disable Overlays to move when a Scaffold.of(context).showSnackBar is called like on my video below.
The same thing is happening when the keyboard appear. Sometime the blue floattingButton (+) don't come back to it's original position :-(
Thx in advance.
Problem animation
The FloatingActionButton going up when the Scaffold is displayed is something common to all default implementations.
Give a look to the "Bootom app bar" demo in the Gallery app. Press on the search button and you will see it coming up. Or just add a Scaffold to the app that is built with flutter create command.
This happens because of the way the FAB button is placed on the screen and the effect of displaying the Snackbar by the Scaffold.
The FAB button is displayed at the bottom of the content area of the Scaffold content. When the content area is shrinked to include the BottomAppBar, the FAB goes up with it. It has nothing to do with Overlay.
You have two options:
Either you create your own versiĆ³n of the FAB which is not
controlled by the Scaffold.
Or you hack the Scaffold so the size of the SnackBar is not taken
into account.
For this second option you can try the following:
Go to the file /lib/src/material/scaffold.dart in your flutter installation and look for the line with the code snackBarSize: snackBarSize, inside the _ScaffoldLayout class.
Replace it with snackBarSize: Size(0.0, 0.0),
You will see that the FAB stays in its place.