Reusable Flutter Socket.IO asset built so the whole lib/socket_service/ folder can be copied into another project.
- Reusable
SocketClient - Central
SocketConfig - Event and exception models
- Example usage file
- Minimal demo app
lib/
├── main.dart
└── socket_service/
├── README.md
├── examples.dart
├── index.dart
├── socket_client.dart
├── socket_config.dart
├── socket_events.dart
├── socket_exceptions.dart
├── socket_service.dart
└── src/
See lib/socket_service/README.md for:
- installation
- quick start
- available API
- integration patterns
- notes about
disconnect()vsdispose()
import 'package:your_app/socket_service/socket_service.dart';flutter analyze
flutter test