Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 543 Bytes

File metadata and controls

18 lines (13 loc) · 543 Bytes

Problems Encountered

  • Add properties to the prop list in state in order for the state to update
  List<Object> get props => [message, id, cameraState];
  • Add id when emitting the CameraStatusEvent
emit(CameraUseState(
            message: response.bodyString,
            id: state.id,
            cameraState: cameraState));
  • Although the application can update the UI with a stopwatch, the code to run the program gets quite long. The state is emitted multiple times in order to update the stopwatch.