You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
======== Exception caught by widgets library =======================================================
The following assertion was thrown building TextMessage(dirty, dependencies: [_LocalizationsScope-[GlobalKey#045b8], MediaQuery, _InheritedTheme]):
Cannot provide both a color and a decoration
To provide both, use "decoration: BoxDecoration(color: color)".
'package:flutter/src/widgets/container.dart':
Failed assertion: line 274 pos 15: 'color == null || decoration == null'
The relevant error-causing widget was:
TextMessage file:///E:/Chat-Messaging-App-Light-and-Dark-Theme-master/lib/screens/messages/components/message.dart:22:18
When the exception was thrown, this was the stack: #2 new Container (package:flutter/src/widgets/container.dart:274:15) #3 TextMessage.build (package:chat/screens/messages/components/text_message.dart:16:12) #4 StatelessElement.build (package:flutter/src/widgets/framework.dart:4648:28) #5 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4574:15) #6 Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
...
======== Exception caught by rendering library =====================================================
The following assertion was thrown during layout:
A RenderFlex overflowed by 99684 pixels on the right.
The relevant error-causing widget was:
Row file:///E:/Chat-Messaging-App-Light-and-Dark-Theme-master/lib/screens/messages/components/message.dart:34: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#cdd14 relayoutBoundary=up6 OVERFLOWING
... parentData: offset=Offset(0.0, 20.0) (can use size)
... constraints: BoxConstraints(w=350.0, 0.0<=h<=Infinity)
... size: Size(350.0, 100000.0)
... direction: horizontal
... mainAxisAlignment: start
... mainAxisSize: max
... crossAxisAlignment: center
... textDirection: ltr
... verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
The text was updated successfully, but these errors were encountered:
*this is the error i get when i enter any chat
======== Exception caught by widgets library =======================================================
The following assertion was thrown building TextMessage(dirty, dependencies: [_LocalizationsScope-[GlobalKey#045b8], MediaQuery, _InheritedTheme]):
Cannot provide both a color and a decoration
To provide both, use "decoration: BoxDecoration(color: color)".
'package:flutter/src/widgets/container.dart':
Failed assertion: line 274 pos 15: 'color == null || decoration == null'
The relevant error-causing widget was:
TextMessage file:///E:/Chat-Messaging-App-Light-and-Dark-Theme-master/lib/screens/messages/components/message.dart:22:18
When the exception was thrown, this was the stack:
#2 new Container (package:flutter/src/widgets/container.dart:274:15)
#3 TextMessage.build (package:chat/screens/messages/components/text_message.dart:16:12)
#4 StatelessElement.build (package:flutter/src/widgets/framework.dart:4648:28)
#5 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4574:15)
#6 Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
...
======== Exception caught by rendering library =====================================================
The following assertion was thrown during layout:
A RenderFlex overflowed by 99684 pixels on the right.
The relevant error-causing widget was:
Row file:///E:/Chat-Messaging-App-Light-and-Dark-Theme-master/lib/screens/messages/components/message.dart:34: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#cdd14 relayoutBoundary=up6 OVERFLOWING
... parentData: offset=Offset(0.0, 20.0) (can use size)
... constraints: BoxConstraints(w=350.0, 0.0<=h<=Infinity)
... size: Size(350.0, 100000.0)
... direction: horizontal
... mainAxisAlignment: start
... mainAxisSize: max
... crossAxisAlignment: center
... textDirection: ltr
... verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
The text was updated successfully, but these errors were encountered: