(Text) right overflowed by 205 pixels

<pre><code>ListView( scrollDirection: Axis.vertical, shrinkWrap: true, children: [ Paddi...

Flutter Custom Text Field

I want to create a custom text field in flutter like shown in the picture. Outlined TextField border with label and icon in the middle of the border line. Is there any...

onChanged property of TextField vanishes on clicking done button after entering text in keyboard in Flutter

<pre><code>class AddTaskScreen extends StatelessWidget { const AddTaskScreen({Key? key}) : super(key: key); @override Widget build(BuildContext context) { Stri...

flutter DataTable: columns and rows property not defined problem

I've started developing in Flutter with tables, but I met some problems with tables. I use DataTable to represent data in a table. There is a problem that i fa...

flutter / Material3 / I dont know how to use the custom colors specified in the Material theme builder in the Flutter app

<a href="https://m3.material.io/styles/color/the-color-system/custom-colors" rel="nofollow noreferrer">https://m3.material.io/styles/color/the-color-system/custom-colo...

Failed assertion: line 4429 pos 12: !_debugLocked: is not true

Here I have attached my code which I have created a listview.builder to show 4 elevated button in a container with axis.horizontal. So, when I was clicking the contain...

How to add width to icon without Materialbutton - Flutter

I want to show bold icon in my app but I don't want to use material icon because when I tap on it it show splash effect and I don't want that so is there any way to ad...

flutter: how to use DataTable with Listview.builder

recently i develop an application using flutter and sqflite. for showing data as tabular form i use from DataTable widget but a problem that i face, when i use DataTab...

Override TextStyle color with foregroundColor - ElevatedButton

I'm trying to build a custom <a href="https://api.flutter.dev/flutter/material/ElevatedButton-class.html" rel="nofollow noreferrer">Elevated Button</a> component : <em...

Text widget font not appearing correctly

I've created a separate page with a <code>StatefulWidget</code> inside my Flutter app, and it has a <code>Text</code> widget inside of it. However, when testing...

How to add more than 1 theme parameter to Material App Flutter?

I have a normal <code>MaterialApp</code> Widget in my <code>flutter</code> app. And I want to add more than 1 <code>theme</code> parameter to it... Like so:-</p...

Drag and Drop Chip widgets

I was trying to make a list of chips which user can reorder by doing drag and drop gesture, Here is sample code which you can execute to see the issue, As being told,...

Flutter Listen List Object When Any Item Value Change

i have an List item keeping bool values like that:<br /> <code>List&lt;bool&gt; isSelectedDiscountValue = [false, false];</code> <pre><code> isSelectedDiscountValu...

Slider doesnt move but value changes

I have the next code: <pre><code>class _ReadingBookPage extends State&lt;ReadingBookPage&gt; { double _sizeFont = 14; ... @override Widge...

Limit time picker in Material UI flutter

How can i limit time picker in material UI use flutter ? i will limit the time from 8.00 to 16.00 here is my code <pre class="lang-dart prettyprint-o...