15 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
35
views
Why doesn't GlobalKey preserve child widget animations when passed to a parent widget?
I want to determine the position and size of a widget in Flutter by obtaining its RenderBox. To achieve this, I assigned a GlobalKey to the widget and used it to access the RenderBox. However, while ...
0
votes
1
answer
104
views
Wrong order in layout (Flutter)
I'm currently facing the following problem in my Flutter app:
This is my current layout. It contains 2 charts that I designed myself using a widget based on a render box.
original layout
If I click on ...
0
votes
2
answers
68
views
RenderFlex children , how to wrap a column of listview and row with column in side singlechildscrollview
In flutter , bodypart
I have 2 widget : 1 listview.builder and 1 row that containt 2 column with text inside.
But don't know how to use SingleChildScrollView and resizeToAvoidBottomInset: true,
...
0
votes
1
answer
53
views
Flutter dropChild of RenderBox not working as expected
I want to drop/delete a Renderbox in my class
class RenderDynamicTimeline extends RenderBox
with
ContainerRenderObjectMixin<RenderBox, DynamicTimelineParentData>,
...
0
votes
0
answers
82
views
Flutter-How to display existing TextFormField widget in RenderBox component?
How to add the existing widget in RenderBox component?. I want to add the TextFormField widget in the paint method of render box. I have included the code snippet I used and a screenshot of the ...
1
vote
1
answer
3k
views
Uncaught Error: Cannot hit test a render box with no size
So basically I'm working on a self made project by myself just to practice.
When I try to login, the app should list all the users who are in the DB. But when I click the login, this error comes up:
...
1
vote
1
answer
359
views
"has Size" Error when the textfield is focused
I am having a fixed AppBar() and BottomNavigationBar() and only changing the body for whole Application.
To achieve this I have used the builder: property in the MaterialApp() Widget.
Now when I tap ...
0
votes
1
answer
630
views
Flutter - Programmatically change the mouse cursor without rebuilding the widget. Setting cursor in a RenderBox?
The most common use to change the cursor is through MouseRegion and setState. Example:
MouseRegion(cursor: _myCursor);
setState(() {
if(...) {
_myCursor = SystemMouseCursors.copy;
} else {
...
0
votes
1
answer
2k
views
The following assertion was thrown during paint(): RenderBox was not laid out
The following assertion was thrown during paint():
RenderBox was not laid out: RenderRepaintBoundary#edc84 relayoutBoundary=up2 NEEDS-PAINT 'package:flutter/src/rendering/box.dart': Failed assertion: ...
2
votes
1
answer
1k
views
The following assertion was thrown during performResize(): Horizontal viewport was given unbounded height
I am having Flutter Stepper and i am trying to have a TabBar with TabBarView in one of the steps but i am getting below error
======== Exception caught by rendering library ============================...
1
vote
0
answers
205
views
Updating flutter widget tree at runtime
I am doing a research for a project I will be starting soon.
Basically, the app let's the user create a design by dragging and dropping some widgets like Text, Stack, Container etc. Kind of like a ...
0
votes
2
answers
406
views
Find width of the child widget before build method is invoked again
I am creating a custom button widget MyButton by composing ElevatedButton that will contains a Text widget as Child. It has a boolean isLoading property that will be used to configure the type of ...
3
votes
1
answer
1k
views
Flutter: How to stop imagefilter (colorfilter / paint filter) at particular child?
I want to apply an ImageFilter to a ListView so that all children are affected and that all children affect each other f.e. blend colors.
(That's why applying the filter to the children instead of the ...
1
vote
0
answers
1k
views
How do I center an OverlayEntry relative to a Widget on the screen in Flutter?
I am struggling to figure out how to center a widget in an OverlayEntry (inside an Overlay) relative to another Widget on the screen.
The following is a simplified version of the code I have up ...
1
vote
1
answer
811
views
ListTile within a Card causing RenderBox was not laid
I am trying to put ListTile within a Card but I am getting a renderbox error
════════ Exception caught by rendering library ═════════════════════════════════
RenderBox was not laid out: ...