mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-24 16:30:40 +00:00
Updated dependencies versions + lints
This commit is contained in:
parent
749f2beb47
commit
00b2728453
4 changed files with 13 additions and 16 deletions
|
@ -8,3 +8,4 @@ linter:
|
|||
analyzer:
|
||||
exclude:
|
||||
- "**/generated/**"
|
||||
- lib/firebase_options.dart
|
|
@ -55,10 +55,8 @@ class EvSourceTypeProviderState extends State<EvSourceTypeProvider> {
|
|||
if (context.read<Environment>().hasLightSensor) {
|
||||
valueListenable.value = EvSourceType.sensor;
|
||||
}
|
||||
break;
|
||||
case EvSourceType.sensor:
|
||||
valueListenable.value = EvSourceType.camera;
|
||||
break;
|
||||
}
|
||||
context.read<UserPreferencesService>().evSourceType = valueListenable.value;
|
||||
}
|
||||
|
|
|
@ -211,12 +211,10 @@ class CameraContainerBloc extends EvSourceBlocBase<CameraContainerEvent, CameraC
|
|||
switch (state) {
|
||||
case AppLifecycleState.resumed:
|
||||
add(const InitializeEvent());
|
||||
break;
|
||||
case AppLifecycleState.paused:
|
||||
case AppLifecycleState.detached:
|
||||
_cameraController?.dispose();
|
||||
_cameraController = null;
|
||||
break;
|
||||
default:
|
||||
}
|
||||
}
|
||||
|
|
22
pubspec.yaml
22
pubspec.yaml
|
@ -8,15 +8,15 @@ environment:
|
|||
|
||||
dependencies:
|
||||
app_settings: 4.2.0
|
||||
camera: 0.10.0+4
|
||||
camera: 0.10.5
|
||||
clipboard: 0.1.3
|
||||
dynamic_color: 1.5.4
|
||||
exif: 3.1.2
|
||||
firebase_core: 2.11.0
|
||||
firebase_crashlytics: 3.2.0
|
||||
dynamic_color: 1.6.5
|
||||
exif: 3.1.4
|
||||
firebase_core: 2.13.0
|
||||
firebase_crashlytics: 3.3.1
|
||||
flutter:
|
||||
sdk: flutter
|
||||
flutter_bloc: 8.1.1
|
||||
flutter_bloc: 8.1.2
|
||||
flutter_localizations:
|
||||
sdk: flutter
|
||||
intl: 0.18.0
|
||||
|
@ -27,19 +27,19 @@ dependencies:
|
|||
url: "https://github.com/vodemn/m3_lightmeter_resources"
|
||||
ref: main
|
||||
material_color_utilities: 0.2.0
|
||||
package_info_plus: 4.0.0
|
||||
package_info_plus: 4.0.1
|
||||
permission_handler: 10.2.0
|
||||
provider: 6.0.4
|
||||
shared_preferences: 2.0.15
|
||||
url_launcher: 6.1.8
|
||||
shared_preferences: 2.1.1
|
||||
url_launcher: 6.1.11
|
||||
uuid: 3.0.7
|
||||
vibration: 1.7.6
|
||||
vibration: 1.7.7
|
||||
|
||||
dev_dependencies:
|
||||
flutter_launcher_icons: 0.11.0
|
||||
flutter_native_splash: 2.2.16
|
||||
google_fonts: 3.0.1
|
||||
lint: 2.1.1
|
||||
lint: 2.1.2
|
||||
test: 1.24.1
|
||||
|
||||
flutter:
|
||||
|
|
Loading…
Reference in a new issue