Questions tagged [dismissible]
46 questions
1
vote
0 answers
Flutter: Dismissible in PopupMenuButton does not risize while displayed
I want to use a Dismissible Widget in a PopupMenuButton to delete items in the popup list.
My example code (see the example main() code below) works for deleting an item (String) in the PopupMenuButton, but the list is not refreshed and resized…

Jean G
- 147
- 1
- 10
1
vote
1 answer
Dismissible content going outside
I have a screen with a list of Widgets, each widet is a Dismissible with a ListTile inside, but when I swipe, the content is going outside (as pointed by the red arrow), this may be happening because of the padding around the Dismissible. There is a…

Thierry P. Oliveira
- 526
- 9
- 16
1
vote
0 answers
Flutter Streambuilder too fast when using with Dismissible
I am using Streambuilder for streaming data from Cloud Firestore and I am displaying the data with Dismissibles using Listview Builder.
Now when I dismiss a Dismissible, it pops up again for a short time until it is deleted form the database.
Has…

Stevelriemenbill
- 11
- 2
1
vote
1 answer
Dismissible widget not changing when using Unique Key
So I'm trying to use a dismissible widget as part of my Flutter code. It works fine, except when I swipe to before the first document, or after the last document. Below is the code sample I've used:
StreamBuilder (
stream:…

Gatorade Spam
- 21
- 4
1
vote
0 answers
Flutter: strange behaviour of Dismissible when using a "responsive" design
I'm facing a rather surprising behaviour of the Dismissible component these days.
I'm using the very same widget, AirportWidget, in its own page when using a narrow screen:
Scaffold(
appBar: AppBar(…),
body: RefreshIndicator(
…

slp
- 23
- 6
1
vote
2 answers
Not able to delete in onDismissible
I have a code, that uses dismissible in the listview (showes items from database). After dismissing an item it is supposed to show snackbar but it is not showing it and it seems that the dismissible is still part of the tree. Can you help me with…

RRy
- 433
- 1
- 5
- 15
0
votes
2 answers
How to show a alertbox before disming a Listtile in Flutter
I was trying to do a Listview.I want to delete a each row and on sliding (dismissible widget).
Before dismising i want o conform using a alertbox. Also there is another problem that is i want alternate list to have Squared and circular image. But it…

Aswanth Rusoe DS
- 25
- 6
0
votes
1 answer
Limiting Dissmisble widget triggering
I use the Dissmisble widget to remove an item from a list. I would like to be able to limit the trigger zone (after which the swipe begins) in the child widget.
I.e. we have a widget in the list, which is wrapped in Dissmisble, if you start swipe to…

Борис
- 13
- 2
0
votes
0 answers
I have a ProviderNotFoundException problem?
I'm applying the Provider pattern to manage the state of my application So I have a ListView of CartItem
and when I dismiss the CartItem from it a ProviderNotFoundException occur the logic and the code seems fine to me and I don't know where the…

Ghaith Mefteh
- 1
- 2
0
votes
0 answers
ListTile Components displacing when used with Dismissible Widget - Flutter
ListTile components are displaing whenever it is not being dragged to the full extent for Dismissal.
Please look at the photos to understand the bug better
code for home_view.dart:
class HomeView extends StatefulWidget {
const HomeView({Key?…

ghosh_joy
- 1,031
- 1
- 5
- 10
0
votes
0 answers
Flutter: ReorderableDragStartListener cancels out Dismissable widget
ReorderableDragStartListener cancels out Dismissable widget. Another thread suggests that I simply switch modes but cannot see how I can implement that in my code structure which was working beautifully until I added the ReorderableDragListener so…

fluttergogo
- 93
- 8
0
votes
1 answer
Why can't I remove a list item using Dismissible widget ?- Flutter
Hi I have a problem with Dissmisible widget in Flutter.
I have a list of a model class.
List tasks = [] ;
I use ListView.seperatd to fill that list with the item below:
buildTaskItem(TaskModel model, context) => Dismissible(
…

Hunter
- 61
- 1
- 7
0
votes
0 answers
cant use Dismissible widget with PhotoViewGallery
I'm trying to use Dismissible widget to close or dismiss the PhotoViewGallery Widget when scroll vertical
This is app with Dismissible widget : https://ibb.co/SRcQR2Thttps://ibb.co/K0x5883
This Image is app without Dismissible widget :…

meddev21
- 11
0
votes
1 answer
Dismissible widget: dismiss widget only when tapping a button
I'm trying to use the dismissible widget to get dismissed only when a button is pressed, not by swiping. Is there any way to achieve this or is that impossible to do with the Dismissible widget (or maybe I woukld have to implement my own with custom…

David A.
- 291
- 1
- 2
- 7
0
votes
0 answers
Flutter Dismissible make buttons undismissible on vertical drag
I have a dismissible modal in flutter with a header, body and footer all wrapped in a Dissmissible widget, the header and body are draggable to dismiss by design but I don't want the footer to also be draggable to dismiss. Is there a way to make a…

sula7ifa
- 85
- 8