Category "flutter-layout"

Text Overflow inside container creating design such as messenger messages in which text is inside container in which height and width not mentioned

I want container to maintain its height and width according to the text without the text overflowing such as if there is small text width is small but if text i

I want to Save Contact Number at Mobile storage using Flutter

I wrote this function to save contact number, but it can't save on local storage Future _saveContact() async { Contact contact = Contact(); contact.fami

How to create glass widget in flutter app?

I need to make glass card view widget in the flutter (like image). Its mode without using the package. But if there is no solution, if there is a package for it

how can I save the state of the 'liked' post by the user?

I have two collections in firestore, 'users' and 'posts'. HomePage is where all the posts are displayed in a listview and every post has a 'like' button. I'm sa

Flutter - Change Stepper - Step Color

Is there a way to change the color of the Steps without creating a custom Stepper? the current step is blue. https://docs.flutter.io/flutter/material/Stepper-c

getSelectedText on inactive InputConnection flutter

I have this weird problem,When i try to enter value to textfield the keyboard comes up when i try to type the the keyboard goes away , i am also doing fill up

I want to create a cart view

I want to create a cartview by allowing an item to be selected once I click on the Icon Button then the item is pushed to the cartview and it can show if the it

In my flutter app when i open gps or camera or map , or any url , getting error "Lost connection to device." everytime

I am testing on a real device(Redmi 7A) when I open Camera ,URL,GPS, app always get error "Lost connection to device." but when i test on Samsung m31 or Samsung

How to refresh an AlertDialog in Flutter?

Currently, I have an AlertDialog with an IconButton. The user can click on the IconButton, I have two colors for each click. The problem is that I need to close

"Minimizing" the current screen in Flutter

I'm building an app where I ping some data in my screen with the StreamBuilder (time, location, etc.), now I want to make an option for the user to leave the cu

Flutter - How to make custom rounded shape tab indicator with fixed height?

I want to make an indicator with a rounded shape like the below image. I tried a lot for it but I can't make it a shape like a design. And also tell me how

How to create a modal bottomsheet with circular corners in Flutter?

showModalBottomSheet does not provide any styling or decorations. I want to create something like the Google Tasks bottomsheet.

How to design Filters in Flutter?

I am new to flutter and I wonder how to develop filters in flutter something like this (screenshot taken from google images), so I just want to know how to do f

How to change Status Bar and App Bar color in Flutter?

I'm trying to change the color of the system status bar to black. The configuration seems to be overridden by the AppBar class. I can achieve what I want by ass

Copy Paste on pin text field in flutter not working

I have a PIN text field in flutter and I'm trying to paste the code in text field. However, only in the first text field is the code pasted and not in the other

Flutter: How to flip an icon to get mirror effect?

I want to flip this replay material icon so that it can be used as forward. Present Icon: Required Result:

The argument type 'Future<Widget>' can't be assigned to the parameter type 'Widget'.dart

Here I have to use pdfImageFromImageProvider function to stateless widget. So, Is it possible to resolve this issue using stateless widget? Future<Widget>

Flutter TextField Hint Text Not Align Center

Container( alignment: Alignment.center, de

Getting Incorrect use of ParentDataWidget error when I use ListView

In this part of my application I have ListView, when I run app I get this error and I can't resolve that: Scaffold( body: Directionality( textDirection: TextD

TextField inside of Row causes layout exception: Unable to calculate size

I’m getting a rendering exception that I don’t understand how to fix. I’m attempting to create a column that has 3 rows. Row [Image] Row [T