Welcome to the Chat App! This application allows users to communicate in real-time using a chat interface. The app leverages Socket.IO for real-time communication, connectivity package for network management, and Shimmer for loading animations.
- Real-time messaging
- Network connectivity management
- Smooth loading animations
- Flutter SDK
- Dart SDK
- Compatible IDE (e.g., Visual Studio Code, Android Studio)
The following dependencies are used in this project:
dependencies:
flutter:
sdk: flutter
socket_io_client: ^2.0.3+1
connectivity: ^3.0.6
shimmer: ^2.0.0
-
Clone the repository:
git clone https://github.com/yourusername/chat-app.git cd chat-app
-
Install dependencies:
flutter pub get
-
Run the app:
flutter run
-
Real-time Messaging:
The app uses
socket_io_client
for real-time communication. Ensure your backend server supports Socket.IO. -
Network Connectivity:
The
connectivity
package is used to manage network status. The app will display appropriate messages when the network is unavailable. -
Loading Animations:
The
shimmer
package is used to display loading animations while data is being fetched.
- lib/main.dart: Entry point of the application.
- lib/screens/chat_screen.dart: Main screen for chat functionality.
- lib/services/socket_service.dart: Service for managing Socket.IO connections.
- lib/widgets/shimmer_loading.dart: Widget for displaying shimmer loading animations.
- Fork the repository.
- Create your feature branch:
git checkout -b feature/feature-name
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/feature-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or support, please contact us at [email protected].
Thank you for using Chat App! We hope you enjoy using it as much as we enjoyed building it.
Feel free to customize this README file as per your project details and requirements.