38 questions
0
votes
1
answer
51
views
Align widgets vertically across multiple colums in flutter
Let's say I have column 1 with widgets A, B and C and column 2 with widgets D and E. Column 1 and 2 are in a Row. How do I align A with D and C with E vertically.
Row(
crossAxisAlignment: ...
1
vote
1
answer
79
views
BoxConstraints forces an infinite width (listview in a Column)
I am getting an error when I add the listview builder in the column.
I am getting the following error:
this is my task widget page:
import 'package:cloud_firestore/cloud_firestore.dart';
import '...
0
votes
1
answer
189
views
Infinity scrolling in column is impossible in flutter?
I use this infinite scroll library. https://pub.dev/packages/infinite_scroll_pagination
infinite_scroll_pagination 4.0.0
And my infinite scroll is under the sub title text widget!
like this:
body: ...
1
vote
2
answers
162
views
How to make two Expanded widgets take the screen size based on their child in Flutter
I have the following code:
import 'package:flutter/material.dart';
class HomePage extends StatelessWidget {
const HomePage({super.key});
final String longText = '''
Vestibulum dapibus sit amet ...
0
votes
1
answer
48
views
How to let column not be wider than a specific widget
I have following scenario, initially I have a DataTable which contains some lines (user list), with some necessary columns, which one column will expand in height when there are additional matches ...
0
votes
2
answers
86
views
How to simulate Listview scrollability and pixel overflow control using the column widget?
I'm trying to use Spacer() within the children of Listview, but it's not working the way it should. So I changed to column, as the Spacer() works fine in it. However I can't come to a implementation ...
0
votes
1
answer
194
views
Making a list view skip its parent's padding while maintaining clickability
Here's my ListView. I want it to be clickable not just visible, while skipping its parent column's padding. Right now it's just visible and not clickable because of the OverflowBox widget.
return ...
0
votes
1
answer
42
views
Column inside GridView Overflowing in Flutter
The column inside the gridview is overflowing in each and every item of the grid view, and I do not understand what is going on in here.
Expanded(
child: GridView.builder(
...
0
votes
1
answer
1k
views
how to a place half of the widget outside of another widget in flutter?
I have a Column which has a 2 items : 1- badge and 2- container . I want to place the half of the badge inside the container , the image will be more clear ,
and here is the parts of code :
Column(
...
1
vote
1
answer
97
views
column and row widget how to user divider widget in flutter
column and row widgets using divider horizontal line and vertical line in flutter
import 'package:basketball/colors/const.dart';
import 'package:flutter/material.dart';
class Uefa extends ...
0
votes
3
answers
659
views
Flutter form in Container, when validator works Container comes too small for Form
Im a new flutter developer, so please can u help me with this problem.
The problem is when validator in TextFieldForm "works" it adds text that user did something wrong.
And my Container is ...
0
votes
3
answers
530
views
How to contain this column within my box in Flutter?
I am learning Flutter and am trying to develop a login screen. Specifically so far it's focused on just different tablets. The two I am simulating on as an example are an iPad and Pixel C tablet. I ...
0
votes
1
answer
51
views
How to implement colours dropdown in flutter?
enter image description here
how to implement this dropdown in flutter?(please refer the image above)
when the dropdown is expanded it should show a list of colours in a circular container.
3
votes
2
answers
2k
views
Flutter align one children in column to extreme right and others on center
Could you please help me to align one element in column to extreme right.
Please help me
1
vote
4
answers
989
views
Flutter, Overflow in Drawer's DrawerHeader
The problem may not be just for the Drawer or DrawerHeader widgets, but on how Expanded or Flexible may work inside a DrawerHeader widget combined with Column and Row widgets.
My code with my Drawer ...
-1
votes
1
answer
26
views
How to design the application list in the iphone tip application
How to design the application list in the picture? Use ListView or Column?
0
votes
1
answer
57
views
Renderbox was not laid out: Horizontal ListView inside Column
I want to achive this layout:
ListView (vertical) -> ListView (horizontal) -> Card item (with fixed size)
But I can't understand why show renderbox error.
Main ListView:
return ListView(
...
0
votes
1
answer
94
views
Image should be upload only that column which is clicked not in all
I write a code where I have colums in Gridviw and each column has the property to upload the image.
The image will be uploaded on that column which is clicked but in my code when I click any column to ...
0
votes
1
answer
123
views
Cant center my Widgets in Container using Column() flutter
On this pic is my
step1
And when I use Column(), my design isn't a center :( Watch it -> step2
also I cant press on it when I wrapped in Column() and I dont see any mistakes:
Expanded(
...
0
votes
1
answer
1k
views
Flutter - Flexible with column inside doesn't take max column height
I'm having problems with flex widget with a column inside where the children have a fixed height (constrained to min and max).
I have to build a screen with a column with many rows as children and ...
0
votes
2
answers
2k
views
Allow flutter Column to take all the available Space in this kind of layout
I've a ListView.builder on my page which wraps Columns inside it according to various parameters.
My code looks something like this :
ListView.builder(
itemCount: sortedList.length,
itemBuilder: (...
0
votes
1
answer
2k
views
Flutter Flex Widget
I have this class State:
class _ItemCardState extends State<ItemCard> {
double imgSize = 30;
Axis expanded = Axis.horizontal;
@override
Widget build(BuildContext context) {
return ...
0
votes
1
answer
560
views
Flutter render overflow bottom issue on smaller devices
I have a alertdialog in my application which has come form elements init. The form is wrapped with a column widget. How ever when the keyboard opens up it throw bottom overflow issue. To solve that i ...
2
votes
1
answer
4k
views
RenderBox was not laid out: RenderRepaintBoundary#5291c relayoutBoundary=up1 NEEDS-PAINT
I have a form widget which holds the Column as its child. The reason of Column widget is to have username and password fields one after another-password field in new line. In addition, I need to have ...
3
votes
2
answers
4k
views
How to avoid bottom overflow in flutter columns within a GridView
I though I had understood how flutter columns and rows work but I am unable to resolve the following bottom overflow in my column consisting of an Image- and two Textwidgets.
The widgets are arranged ...
0
votes
2
answers
1k
views
GridView.count() not working inside a Column Widget-Flutter
When i am trying to use GridView.count() to build the body under 'Skills' ,as shown in the design, Its not working i.e the gridview is not visible at all. I understood it might be due to I am using it ...
1
vote
3
answers
2k
views
Column widget not positioning widgets properly when using Stack widget-Flutter
The first image is the design of the app from Figma. While the next image is the one which I am getting though I am using simple stack and columns. I am not being able to understand why it is coming ...
0
votes
1
answer
184
views
Additional width for first element of Column in Flutter
I am trying to achieve two evenly spaced buttons within a Column in Flutter. on Repeating the widgets twice, the first button is Shrunk by a specific width. On inspection, found this.
I'm unable to ...
1
vote
4
answers
3k
views
Draggable Scrollable Sheet becomes unscrollable when we set it's child to a column
I have the following code for a DraggableScrollableSheet in Flutter.
DraggableScrollableSheet(
builder: (BuildContext context, ScrollController scrollController) {
return ClipRRect(
...
4
votes
1
answer
3k
views
Flutter. Column mainAxisAlignment spaceBetween not working inside Row
I am trying to make a screen like this:
For this I'm using ListView with custom item.
Here is my code of item:
@override
Widget build(BuildContext context) {
return Padding(
padding: ...
0
votes
4
answers
3k
views
Flutter. Column mainAxisAlignment spaceBetween not working
I need to position the widgets at the top and bottom, as in this picture.
For this I am using the following structure:
Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
...
2
votes
1
answer
3k
views
Flutter unbounded height error if using Spacer in Column inside another Column
I am stuck... This is my code broken down:
Column(
children: [
Column(
children: [
Text('Whyy'),
Spacer(),
Text('crash?'),
],
),
...
3
votes
1
answer
2k
views
What does CrossAxisAlignment.baseline, in Column
I have a question, I want to know what is the functionality of CrossAxisAlignment.baseline when we use Column in Flutter , nothing happen when I used this attribute
can any one help me to figure out ...
1
vote
4
answers
3k
views
How can I use a gridview inside a column?
I have a column with a container that acts as a header and a gridview of widgets below.
I want only the gridview to be scrollable and that the header will not move and always be displayed.
This is my ...
4
votes
2
answers
1k
views
Flutter align specific widget in column with min width
I'm implementing a chat on my flutter app, and I want my chat-time to be align at the right side of the column (all other widgets should be align left).
My problem is that when I'm using alignment....
0
votes
1
answer
1k
views
Align text inside children of Row widget in flutter
I am trying to generate the legends of the chart using the Column and Row widget dynamically. The issue that I am facing is aligning the text in the next row.
You can see that because of the larger ...
0
votes
1
answer
133
views
Why is there so much space between Rows in my Flutter code?
Positioned(
bottom: 15,
left: 15,
child: SizedBox(
height: 100,
child: Column(
children: [
Row(
...
215
votes
12
answers
297k
views
Flutter : Vertically center column
How to vertically center a column in Flutter? I have used widget "new Center". I have used widget "new Center", but it does not vertically center my column ? Any ideas would be helpful....
@override
...