Questions tagged [flutter-showmodalbottomsheet]
130 questions
0
votes
2 answers
flutter : move bottomsheet that containe a TabBarView with textfield along with keyboard
I'm trying to make a bottomsheet that has a text field inside both of tabviews (second and first) .. But, bottomsheet is overlapped by the keyboard.
i tryed all solutions that mentioned here :
How to Move bottomsheet along with keyboard which has…

ILii
- 83
- 3
- 10
0
votes
1 answer
Close showModalBottomSheet in flutter programmatically after a condition is satisfied - setState() or markNeedsBuild() called during build
I'd like to close a showModalBottomSheet when a boolean condition is verified as true in the code. The intended behavior is working, though, on the debug console of VSCode I'm seeing an exception being thrown, and I'm afraid it can lead to certain…

satler
- 75
- 3
- 11
0
votes
1 answer
Flutter has dely to update variable in showModalBottomSheet
I recently have started to learn flutter from scratch by design an app restaurant delivery
I have faced with an strange problem
while i am adding/removeing food from showModalBottemSheet, it gets the number of food from server but has show it with…

Alireza unixp
- 1
- 2
0
votes
1 answer
How to retrieve a specific document in firestore with flutter
I'm trying to retrieve a firestore document in my app so that I can update it. Here's the current code:
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
MyApp(),
…

Jason Lloyd
- 378
- 7
- 23
-1
votes
1 answer
Flutter Bottomsheet reload problem after dismissing keyboard
In a todoapp , am trying to edit a single task from a list of Tasks. After clicking on edit icon , I was able to open a bottomsheet widget using showmodalbottomsheet function with pre filled two text fields using texteditingcontrollers. When I tried…

user2955424
- 27
- 5
-1
votes
5 answers
FLUTTER showModalBottomSheet
how can i controll the default pop property of bottom sheet.Like I want to asign a value to a variable when showModalBottomSheet is popped .I have tried to do with controllers

sks
- 1
- 1
-1
votes
1 answer
Creating BorderRadius within a Scaffold in BottomSheet and minChildSize issue
Code B below is pop up from clicking showModalBottomSheet. It works fine as it is. But I am trying to fix 2 issues with this code.
Issue 1: The maxChildSize and minChildSize doesn't seem to be working. How can this be fixed?
Issue 2: Where can I…

YSC
- 29
- 6
-1
votes
1 answer
Incorrect use of Parent data widget - Flutter bottom-sheet
Here I have below Widget in my bttomsheet (showModalBottomSheet) :
Flexible(
child: ListView.separated(
separatorBuilder: (context, index) => Container(
height: 20.h,
),
…

Jaimin Modi
- 1,530
- 4
- 20
- 72
-1
votes
1 answer
Cupertino style showModalBottomSheet
I wanted to ask if there is any Cupertino style “showModalBottomSheet” available by default in Flutter? I’m designing the app for iOS and that’s one of the things I want to include for my “Add record” process of the app.
I would like to achieve…

Petr G
- 25
- 9
-2
votes
1 answer
how can i use setState() outsit of stateful widget
Im creating this modal for report bottomsheet. and I want to change background color on hover but it requires setstate in order to do so, how can I do it without setState? i asked chatGpt and it gave me this code. but its still gives error.
here is…

rawa
- 9
- 2