This Flutter project demonstrates real-time sensor data management using BLoC pattern and reactive programming. The application simulates a sensor monitoring system with live data updates.
- Sensor Model: Contains name, description, and temperature value properties
- Sensor Repository: Manages sensor data with reactive streams
- Uses
BehaviorSubject
for real-time data broadcasting initializeSensors()
: Creates 10 random sensors and updates values every 5 secondsupdateSensor()
: Updates individual sensor data in the stream
- Uses
- BLoC Implementation: Create a business logic component to initialize sensors and manage data streams
- Real-time UI: Build a functional view that displays sensor list with live updates to values
- Search Functionality: Implement filtering capabilities for the sensor list
- Edit Capabilities: Add ability to modify sensor name and description (dialog or separate screen)
- Sorting: Implement ascending/descending sort by temperature value
- UI/UX: Apply styling
- Flutter
- BLoC Pattern
- RxDart (BehaviorSubject)
- Clone the repository
- Run
flutter pub get
- Implement the required features in order of priority
- Test real-time updates and user interactions