I open the app a Caregiver
Then I open Home Screen without profile
Go to back to profile
Open Home Screen again and the error happens
The device is Android Emulator Pixel 6 Android Tiramisu
Same error thrown when using the app as User
I open the app a User
Then I open Home Screen with Use OTTAA as "user"
Go to back to profile
Open Home Screen again and the error happens
The device is Android Emulator Pixel XL Android Tiramisu
What happened?
A bug happened! Is not showing any warning on the screen but it throws the error on console.
Where are you seeing the problem on?
Android
Relevant log output
======== Exception caught by rendering library =====================================================
The following assertion was thrown during layout:
A RenderFlex overflowed by 142 pixels on the right.
The relevant error-causing widget was:
Row Row:file:///C:/Users/Agus/StudioProjects/ottaa_project_flutter/lib/presentation/screens/home/ui/word_bar.dart:98:14
The overflowing RenderFlex has an orientation of Axis.horizontal.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be seen. If the content is legitimately bigger than the available space, consider clipping it with a ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, like a ListView.
The specific RenderFlex in question is: RenderFlex#1cb82 relayoutBoundary=up3 OVERFLOWING
... needs compositing
... parentData: <none> (can use size)
... constraints: BoxConstraints(w=411.4, 0.0<=h<=Infinity)
... size: Size(411.4, 80.0)
... direction: horizontal
... mainAxisAlignment: start
... mainAxisSize: max
... crossAxisAlignment: center
... textDirection: ltr
... verticalDirection: down
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Contact Details
No response
Branch name
development
Flutter & Dart version
Flutter version 3.7.3 stable Dart 2.19.2
How are you running it?
My steps are Git fetch Git pull flutter run
I open the app a Caregiver Then I open Home Screen without profile Go to back to profile Open Home Screen again and the error happens
The device is Android Emulator Pixel 6 Android Tiramisu
Same error thrown when using the app as User I open the app a User Then I open Home Screen with Use OTTAA as "user" Go to back to profile Open Home Screen again and the error happens
The device is Android Emulator Pixel XL Android Tiramisu
What happened?
A bug happened! Is not showing any warning on the screen but it throws the error on console.
Where are you seeing the problem on?
Android
Relevant log output
Code of Conduct