Questions tagged [flutter-showmodalbottomsheet]
130 questions
0
votes
0 answers
ModalBottomSheet covering persistent bottom navigation bar
I have implemented a ModalBottomSheet in my Flutter app that is displayed when I click on the menu icon of the persistent bottom navigation bar. However, I'm facing an issue where the ModalBottomSheet covers the persistent bottom navigation bar…

Idriss Garfa
- 3
- 2
0
votes
2 answers
Flutter: How can I implement this type of bottom sheet in my flutter app?
I want this type of Cupertino modal bottom sheet?
Flutter (Channel stable, 3.10.5, on macOS 13.4.1 22F82 darwin-arm64, locale en-IN)
Android toolchain - develop for Android devices (Android SDK version 34.0.0)
Xcode - develop for iOS and macOS…

Zubair DKD
- 21
- 5
0
votes
1 answer
Flutter Filter Chip Issues with Bottom Sheet Modal
I have a bottom list modal in flutter that I want to use as a way to add and remove tags. I am using filter chips as the way to toggle from a pre-built list of tags.
I have the bottom sheet modal working great, pops up on icon button click. The…

Ten Digit Grid
- 1,315
- 4
- 22
- 43
0
votes
2 answers
How to close all the Modal bottom sheet in flutter
I'm creating series of modal bottom sheet in my app. When I go to A modal bottom sheet to B modal bottom sheet then A modal bottom sheet should be closed, I'm not getting how to achieve this, when I use navigator.pop, then it's navigating to A…

Bhargav Dobariya
- 43
- 6
0
votes
1 answer
How to close keyboard of textfield and a showModalBottomSheet at once
I am trying to close the keyboard input from a textfield and a showModalBottomSheet, all in one action, just tapping the back button once (android, not tested in ios). The issue is my textfield needs to have the 'autofocus: true' for my needs, but…

Nicolás Ferrada
- 5
- 1
0
votes
2 answers
How to avoid bottom overflow in a Column in a modal bottom sheet?
I have not understood how to avoid a bottom overflow of a column in a modal bottom sheet.
I don't want a scrollable behaviour, I just would like the column to be the right height of its 4 children, if I use SingleChildScrollView with…

coscinodibruco
- 11
- 3
0
votes
1 answer
Enable/Disable button when TextField has input inside a BottomSheet
I want to have a simple TextField and a TextButton inside a BottomSheet. The TextButton should only be enabled if there is some text in the TextField. However it only enables/disables the button when I click the screen or enter. I want it to change…

Tiago Fernandes
- 3
- 2
0
votes
0 answers
Flutter: How to prevent two bottom sheet showed at a time?
I have a global stream and it's listener. Simply, if something was added to the stream, the app will call showModalBottomSheet function. The problem is, sometimes in the process I have to add two value to the stream, but I only want one modal bottom…

Naufal Rajabi
- 334
- 4
- 13
0
votes
1 answer
Access animation position of modal bottom sheet inside of the sheet widget
TDLR:
I want to change the appearance of a custom modal sheet based on its route's animation position (i.e. change as the user slides it up and down). However, I don't want to have to convert any UI widget that shows the modal sheet to…

Ben Weschler
- 69
- 7
0
votes
2 answers
Show Modal Bottom Sheet
How to increase height of show modal bottom sheet.I can't get this any longer than this.Can somebody help me to solve my problem.
I tried bunch of solutions but non of them worked.

Omer Bayındır
- 15
- 4
0
votes
1 answer
Texts should go upward when modal bottom sheet with keyboard is open
I have a screen where there is a text which is at the top under the appbar. And there's also two text which are at the bottom of the screen. Whenever someones enters that screen a modal bottom sheet opens from bottom and the bottom sheet contains a…

Inan Mahmud
- 226
- 3
- 14
0
votes
2 answers
Flutter dropdownbutton changed value is not displaying
I'm new in flutter. I've created a simple project.
It is fetching documents of person collection from cloud firestore.
There is a modal screen to create new person document (it is opening When I touch the + button)
I have a problem In that…

Ufuk Ugur
- 186
- 1
- 17
0
votes
1 answer
Flutter / modal_bottom_sheet - constrain width?
I'm reviewing the Flutter 'modal_bottom_sheet' package, and I'm wondering if there is a way to set the maximum width of a modal bottom sheet?
In my case, this is a web app, so I don't want the popup modal to take the full browser width

user2868835
- 1,250
- 3
- 19
- 33
0
votes
1 answer
Flutter showModalBottomSheet update parent without Navigator.pop()
In my app I would like to show a bottom sheet with showModalBottomSheet to let the user pick a font. When a new font is selected I would like to reflect the changes immediately in the parent view that is presenting the sheet without closing the…

Jonas Ester
- 535
- 4
- 19
0
votes
0 answers
Trying to highlight focused GridView item in showCupertinoModalBottomSheet
I have a ModalBottomSheet containing a GridView of cards with FocusNode which I would like to navigate using Keyboard or RemoteControl and highlighting the selected card.
The navigation between focusnodes working fine in my code but the color of all…

Pizza Coding
- 1
- 2