The purpose of this apps is implement:
- Provider
- Socket IO Client
- Pie Chart
- Add new item
- Delete item
- Vote and emit the message
- Know the server status
You should ensure that you add the dependency in your flutter project.
dependencies:
socket_io_client: ^0.9.11
provider: ^4.3.2+2
pie_chart: ^4.0.1
You should then run flutter packages upgrade
or update your packages in IntelliJ.
Clone the repository with the NodeJS Socket Server: https://github.com/davisclick/flutter-socket.io-server