Coder Social home page Coder Social logo

abuanwar072 / chat-messaging-app-light-and-dark-theme Goto Github PK

View Code? Open in Web Editor NEW
1.5K 85.0 471.0 112.6 MB

Home Page: https://youtu.be/uiJF-ShOLyo

Kotlin 0.03% Ruby 0.66% Swift 0.44% Objective-C 82.92% Dart 7.25% C 1.39% CMake 2.40% C++ 4.47% HTML 0.44%
flutter ios chat chat-application dark-theme light-theme

chat-messaging-app-light-and-dark-theme's Issues

Profile Page

Hi Abu,

Great work on your flutter templates. Would you mind sharing the profile page of this app like in the demo?

Thanks in advance

Desktop and Web support

  1. have a responsive design on both web and desktop with null safety
  2. this can be a starting point for a chat app.

issue in messages.dart

*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
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.