m3_lightmeter/lib/data/ev_source/camera/state_camera.dart
Vadim 9b0b387514 Added camera package to project
added camera plugin to project

more reverse naming

added communication bloc

layout fix
2022-12-15 11:33:00 +03:00

23 lines
451 B
Dart

import 'package:camera/camera.dart';
abstract class CameraState {
const CameraState();
}
class CameraInitState extends CameraState {
const CameraInitState();
}
class CameraLoadingState extends CameraState {
const CameraLoadingState();
}
class CameraReadyState extends CameraState {
final CameraController controller;
const CameraReadyState(this.controller);
}
class CameraErrorState extends CameraState {
const CameraErrorState();
}