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