mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-25 08:50:40 +00:00
9b0b387514
added camera plugin to project more reverse naming added communication bloc layout fix
23 lines
451 B
Dart
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();
|
|
}
|