I have a Model called service provider that contains a the following data: class ServiceProvider { final String logoUrl; final int lowerPrice; final
I am trying to create a snackbar on the click of a button in flutter, but getting exception that No ScaffoldMessenger widget found. The same code seems to work
I am using Flutters built-in themes like this: return MaterialApp( theme: ThemeData.light().copyWith( primaryColor: const Color(0xFF5E975
The following assertion was thrown building IconButton(Icon, padding: EdgeInsets.all(8.0), dirty): No Material widget found. But you'll see from the code below
I would like to be able to implement a showModalTopSheet on the booking.com site On the first image (img1), a search has already been performed. The search crit
Three Questions: How to load snackbar in flutter in initState or when app loads the initial screen? I have the code below but it throws an error and doesn't loa
I wrapped List tile widget with gesture widget because I want to execute some code on onLongPressStart and onLongPressEnd Call back. But due to this the ripple
I'm currently developing a widget that needs to have rounded corners, but whenever I'm dragging my Dismissible widget from left to right, the Dismissible widget
I am only familiar with HTML/CSS/JS, and basics of dart/flutter Developer Level: Beginner Project type & language: I am developing a notes app for myself, u
So I've been working on flutter for quite some time but recently, after i changed my laptop, I encountered a strange problem. When i run the app in debug mode o
I am having real trouble getting a layout to work within Flutter. The layout I am trying to create: A ListView that contains a: A Container. A TabBar. A TabBarV
This is the picture of the problem, is it a default padding on Bottom Navigation Bar? If it is, how can I remove it? As you can see in the code below, I have a
I want to show alert box or pop up even my flutter app is closed. similar to this picture
Hey guys I am new to Flutter and trying to build a variation selector for an eCommerce application. I am getting this error while trying to build a size variati
I want to align a Text widget to the centre of a row, and I also want a Button widget on the left, on the same row. The text widget is surrounded with an expand
I'm using flutter_local_notifications and everything is ok on debug mode but when I checked it on my phone with release mode the icon is turning grey square. I
I am using the BackdropAppBar package and would like to open the drawer programmatically from the leading icon using something like that : _scaffoldKey.currentS
As we are not able to make widget like RichText/Text Span For styling TextFormField, Can anyone help me out regarding this... Now Getting:- Expected Result:-
It is not showing proper 3d models it shows only the shadow of the models. How I am wrong or How it will show the same models? Both pictures are here real mode
I want to add asteric sign in InputDecoration labelText and change color(like red) of it so that user understand easily this field is required. TextField(