Update dependencies

This commit is contained in:
Yoshi 2024-08-09 22:19:37 +03:00
parent 91e1757a20
commit b2e843c5d9
4 changed files with 132 additions and 77 deletions

View file

@ -24,8 +24,12 @@ mixin _$WeatherDataApi {
Daily get daily => throw _privateConstructorUsedError;
String get timezone => throw _privateConstructorUsedError;
/// Serializes this WeatherDataApi to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
@JsonKey(ignore: true)
/// Create a copy of WeatherDataApi
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$WeatherDataApiCopyWith<WeatherDataApi> get copyWith =>
throw _privateConstructorUsedError;
}
@ -52,6 +56,8 @@ class _$WeatherDataApiCopyWithImpl<$Res, $Val extends WeatherDataApi>
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of WeatherDataApi
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@ -75,6 +81,8 @@ class _$WeatherDataApiCopyWithImpl<$Res, $Val extends WeatherDataApi>
) as $Val);
}
/// Create a copy of WeatherDataApi
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$HourlyCopyWith<$Res> get hourly {
@ -83,6 +91,8 @@ class _$WeatherDataApiCopyWithImpl<$Res, $Val extends WeatherDataApi>
});
}
/// Create a copy of WeatherDataApi
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DailyCopyWith<$Res> get daily {
@ -116,6 +126,8 @@ class __$$WeatherDataApiImplCopyWithImpl<$Res>
_$WeatherDataApiImpl _value, $Res Function(_$WeatherDataApiImpl) _then)
: super(_value, _then);
/// Create a copy of WeatherDataApi
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@ -172,11 +184,13 @@ class _$WeatherDataApiImpl implements _WeatherDataApi {
other.timezone == timezone));
}
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, hourly, daily, timezone);
@JsonKey(ignore: true)
/// Create a copy of WeatherDataApi
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$WeatherDataApiImplCopyWith<_$WeatherDataApiImpl> get copyWith =>
@ -206,8 +220,11 @@ abstract class _WeatherDataApi implements WeatherDataApi {
Daily get daily;
@override
String get timezone;
/// Create a copy of WeatherDataApi
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$WeatherDataApiImplCopyWith<_$WeatherDataApiImpl> get copyWith =>
throw _privateConstructorUsedError;
}
@ -251,8 +268,12 @@ mixin _$Hourly {
@JsonKey(name: 'shortwave_radiation')
List<double?>? get shortwaveRadiation => throw _privateConstructorUsedError;
/// Serializes this Hourly to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
@JsonKey(ignore: true)
/// Create a copy of Hourly
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$HourlyCopyWith<Hourly> get copyWith => throw _privateConstructorUsedError;
}
@ -293,6 +314,8 @@ class _$HourlyCopyWithImpl<$Res, $Val extends Hourly>
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of Hourly
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@ -429,6 +452,8 @@ class __$$HourlyImplCopyWithImpl<$Res>
_$HourlyImpl _value, $Res Function(_$HourlyImpl) _then)
: super(_value, _then);
/// Create a copy of Hourly
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@ -820,7 +845,7 @@ class _$HourlyImpl implements _Hourly {
.equals(other._shortwaveRadiation, _shortwaveRadiation));
}
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(
runtimeType,
@ -843,7 +868,9 @@ class _$HourlyImpl implements _Hourly {
const DeepCollectionEquality().hash(_precipitationProbability),
const DeepCollectionEquality().hash(_shortwaveRadiation));
@JsonKey(ignore: true)
/// Create a copy of Hourly
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$HourlyImplCopyWith<_$HourlyImpl> get copyWith =>
@ -933,8 +960,11 @@ abstract class _Hourly implements Hourly {
@override
@JsonKey(name: 'shortwave_radiation')
List<double?>? get shortwaveRadiation;
/// Create a copy of Hourly
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$HourlyImplCopyWith<_$HourlyImpl> get copyWith =>
throw _privateConstructorUsedError;
}
@ -978,8 +1008,12 @@ mixin _$Daily {
List<int?>? get windDirection10MDominant =>
throw _privateConstructorUsedError;
/// Serializes this Daily to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
@JsonKey(ignore: true)
/// Create a copy of Daily
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$DailyCopyWith<Daily> get copyWith => throw _privateConstructorUsedError;
}
@ -1020,6 +1054,8 @@ class _$DailyCopyWithImpl<$Res, $Val extends Daily>
// ignore: unused_field
final $Res Function($Val) _then;
/// Create a copy of Daily
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@ -1141,6 +1177,8 @@ class __$$DailyImplCopyWithImpl<$Res>
_$DailyImpl _value, $Res Function(_$DailyImpl) _then)
: super(_value, _then);
/// Create a copy of Daily
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
@ -1478,7 +1516,7 @@ class _$DailyImpl implements _Daily {
other._windDirection10MDominant, _windDirection10MDominant));
}
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(
runtimeType,
@ -1498,7 +1536,9 @@ class _$DailyImpl implements _Daily {
const DeepCollectionEquality().hash(_rainSum),
const DeepCollectionEquality().hash(_windDirection10MDominant));
@JsonKey(ignore: true)
/// Create a copy of Daily
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$DailyImplCopyWith<_$DailyImpl> get copyWith =>
@ -1581,8 +1621,11 @@ abstract class _Daily implements Daily {
@override
@JsonKey(name: 'winddirection_10m_dominant')
List<int?>? get windDirection10MDominant;
/// Create a copy of Daily
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$DailyImplCopyWith<_$DailyImpl> get copyWith =>
throw _privateConstructorUsedError;
}

View file

@ -72,8 +72,7 @@ class WeatherController extends GetxController {
return Future.error(
'Location permissions are permanently denied, we cannot request permissions.');
}
return await Geolocator.getCurrentPosition(
desiredAccuracy: LocationAccuracy.high);
return await Geolocator.getCurrentPosition();
}
Future<void> setLocation() async {

View file

@ -5,18 +5,23 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7"
sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834
url: "https://pub.dev"
source: hosted
version: "67.0.0"
version: "72.0.0"
_macros:
dependency: transitive
description: dart
source: sdk
version: "0.3.2"
analyzer:
dependency: transitive
description:
name: analyzer
sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d"
sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139
url: "https://pub.dev"
source: hosted
version: "6.4.1"
version: "6.7.0"
ansicolor:
dependency: transitive
description:
@ -93,18 +98,18 @@ packages:
dependency: "direct dev"
description:
name: build_runner
sha256: "644dc98a0f179b872f612d3eb627924b578897c629788e858157fa5e704ca0c7"
sha256: dd09dd4e2b078992f42aac7f1a622f01882a8492fef08486b27ddde929c19f04
url: "https://pub.dev"
source: hosted
version: "2.4.11"
version: "2.4.12"
build_runner_core:
dependency: transitive
description:
name: build_runner_core
sha256: e3c79f69a64bdfcd8a776a3c28db4eb6e3fb5356d013ae5eb2e52007706d5dbe
sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0
url: "https://pub.dev"
source: hosted
version: "7.3.1"
version: "7.3.2"
built_collection:
dependency: transitive
description:
@ -173,10 +178,10 @@ packages:
dependency: "direct main"
description:
name: connectivity_plus
sha256: "3e7d1d9dbae40ae82cbe6c23c518f0c4ffe32764ee9749b9a99d32cbac8734f6"
sha256: "2056db5241f96cdc0126bd94459fc4cdc13876753768fc7a31c425e50a7177d0"
url: "https://pub.dev"
source: hosted
version: "6.0.4"
version: "6.0.5"
connectivity_plus_platform_interface:
dependency: transitive
description:
@ -237,10 +242,10 @@ packages:
dependency: "direct main"
description:
name: device_info_plus
sha256: "93429694c9253d2871b3af80cf11b3cbb5c65660d402ed7bf69854ce4a089f82"
sha256: a7fd703482b391a87d60b6061d04dfdeab07826b96f9abd8f5ed98068acc0074
url: "https://pub.dev"
source: hosted
version: "10.1.1"
version: "10.1.2"
device_info_plus_platform_interface:
dependency: transitive
description:
@ -355,10 +360,10 @@ packages:
dependency: "direct main"
description:
name: flutter_local_notifications
sha256: dd6676d8c2926537eccdf9f72128bbb2a9d0814689527b17f92c248ff192eaf3
sha256: c500d5d9e7e553f06b61877ca6b9c8b92c570a4c8db371038702e8ce57f8a50f
url: "https://pub.dev"
source: hosted
version: "17.2.1+2"
version: "17.2.2"
flutter_local_notifications_linux:
dependency: transitive
description:
@ -410,10 +415,10 @@ packages:
dependency: "direct dev"
description:
name: freezed
sha256: a434911f643466d78462625df76fd9eb13e57348ff43fe1f77bbe909522c67a1
sha256: "44c19278dd9d89292cf46e97dc0c1e52ce03275f40a97c5a348e802a924bf40e"
url: "https://pub.dev"
source: hosted
version: "2.5.2"
version: "2.5.7"
freezed_annotation:
dependency: "direct main"
description:
@ -474,10 +479,10 @@ packages:
dependency: "direct main"
description:
name: geolocator
sha256: "149876cc5207a0f5daf4fdd3bfcf0a0f27258b3fe95108fa084f527ad0568f1b"
sha256: "0ec58b731776bc43097fcf751f79681b6a8f6d3bc737c94779fe9f1ad73c1a81"
url: "https://pub.dev"
source: hosted
version: "12.0.0"
version: "13.0.1"
geolocator_android:
dependency: transitive
description:
@ -506,10 +511,10 @@ packages:
dependency: transitive
description:
name: geolocator_web
sha256: "7a22f400d831f924a89d931ba126a10e6b8b437f31e6b9311320435f3e1571bd"
sha256: "2ed69328e05cd94e7eb48bb0535f5fc0c0c44d1c4fa1e9737267484d05c29b5e"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
version: "4.1.1"
geolocator_windows:
dependency: transitive
description:
@ -690,18 +695,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
url: "https://pub.dev"
source: hosted
version: "10.0.4"
version: "10.0.5"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
url: "https://pub.dev"
source: hosted
version: "3.0.3"
version: "3.0.5"
leak_tracker_testing:
dependency: transitive
description:
@ -726,6 +731,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.2.0"
macros:
dependency: transitive
description:
name: macros
sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536"
url: "https://pub.dev"
source: hosted
version: "0.1.2-main.4"
matcher:
dependency: transitive
description:
@ -738,18 +751,18 @@ packages:
dependency: transitive
description:
name: material_color_utilities
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
version: "0.8.0"
version: "0.11.1"
meta:
dependency: transitive
description:
name: meta
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.dev"
source: hosted
version: "1.12.0"
version: "1.15.0"
mime:
dependency: transitive
description:
@ -778,10 +791,10 @@ packages:
dependency: "direct main"
description:
name: package_info_plus
sha256: "4de6c36df77ffbcef0a5aefe04669d33f2d18397fea228277b852a2d4e58e860"
sha256: a75164ade98cb7d24cfd0a13c6408927c6b217fa60dee5a7ff5c116a58f28918
url: "https://pub.dev"
source: hosted
version: "8.0.1"
version: "8.0.2"
package_info_plus_platform_interface:
dependency: transitive
description:
@ -1007,10 +1020,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
url: "https://pub.dev"
source: hosted
version: "0.7.0"
version: "0.7.2"
time:
dependency: transitive
description:
@ -1087,10 +1100,10 @@ packages:
dependency: transitive
description:
name: url_launcher_linux
sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811
sha256: e2b9622b4007f97f504cd64c0128309dfb978ae66adbe944125ed9e1750f06af
url: "https://pub.dev"
source: hosted
version: "3.1.1"
version: "3.2.0"
url_launcher_macos:
dependency: transitive
description:
@ -1111,10 +1124,10 @@ packages:
dependency: transitive
description:
name: url_launcher_web
sha256: a36e2d7981122fa185006b216eb6b5b97ede3f9a54b7a511bc966971ab98d049
sha256: "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
version: "2.3.3"
url_launcher_windows:
dependency: transitive
description:
@ -1143,10 +1156,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
url: "https://pub.dev"
source: hosted
version: "14.2.1"
version: "14.2.4"
watcher:
dependency: transitive
description:
@ -1159,10 +1172,10 @@ packages:
dependency: transitive
description:
name: web
sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062
url: "https://pub.dev"
source: hosted
version: "0.5.1"
version: "1.0.0"
web_socket:
dependency: transitive
description:
@ -1236,5 +1249,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.4.4 <4.0.0"
dart: ">=3.5.0 <4.0.0"
flutter: ">=3.22.0"

View file

@ -6,7 +6,7 @@ publish_to: "none"
version: 1.3.4+37
environment:
sdk: ">=3.4.4 <4.0.0"
sdk: ">=3.5.0 <4.0.0"
dependencies:
flutter:
@ -24,7 +24,7 @@ dependencies:
iconsax: ^0.0.8
timezone: ^0.9.4
geocoding: ^3.0.0
geolocator: ^12.0.0
geolocator: ^13.0.1
home_widget: ^0.6.0
workmanager: ^0.5.2
google_fonts: ^6.2.1
@ -38,9 +38,9 @@ dependencies:
# quick_settings: ^1.0.1
json_annotation: ^4.9.0
flutter_timezone: ^2.1.0
device_info_plus: ^10.1.1
package_info_plus: ^8.0.1
connectivity_plus: ^6.0.4
device_info_plus: ^10.1.2
package_info_plus: ^8.0.2
connectivity_plus: ^6.0.5
freezed_annotation: ^2.4.4
isar_flutter_libs:
version: ^3.1.7
@ -50,7 +50,7 @@ dependencies:
# font_awesome_flutter: ^10.7.0
flutter_hsvcolor_picker: ^1.5.1
scrollable_positioned_list: ^0.3.8
flutter_local_notifications: ^17.2.1+2
flutter_local_notifications: ^17.2.2
internet_connection_checker_plus: ^2.5.1
# Uncomment this for publishing FLOSS variant
@ -64,8 +64,8 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
freezed: ^2.5.2
build_runner: ^2.4.11
freezed: ^2.5.7
build_runner: ^2.4.12
flutter_lints: ^4.0.0
isar_generator:
version: ^3.1.7