From e2541d378bad3def4c9adea7fd157fb0dac12ab5 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Thu, 17 Aug 2023 08:27:00 +0200 Subject: [PATCH 1/3] chore: Update to flutter 3.13 Signed-off-by: jld3103 --- .fvm/fvm_config.json | 2 +- packages/app/pubspec.lock | 284 +++++++++--------- packages/app/pubspec.yaml | 4 +- packages/dynamite/dynamite/pubspec.yaml | 2 +- .../dynamite/dynamite_runtime/pubspec.yaml | 2 +- packages/file_icons/pubspec.yaml | 4 +- packages/neon/neon/pubspec.yaml | 4 +- packages/neon/neon_files/pubspec.yaml | 4 +- packages/neon/neon_news/pubspec.yaml | 4 +- packages/neon/neon_notes/pubspec.yaml | 4 +- packages/neon/neon_notifications/pubspec.yaml | 4 +- packages/neon_lints/pubspec.yaml | 2 +- packages/nextcloud/pubspec.yaml | 2 +- packages/sort_box/pubspec.yaml | 2 +- 14 files changed, 166 insertions(+), 158 deletions(-) diff --git a/.fvm/fvm_config.json b/.fvm/fvm_config.json index 2812b855..a9b1b635 100644 --- a/.fvm/fvm_config.json +++ b/.fvm/fvm_config.json @@ -1,4 +1,4 @@ { - "flutterSdkVersion": "3.10.4@stable", + "flutterSdkVersion": "3.13.0@stable", "flavors": {} } \ No newline at end of file diff --git a/packages/app/pubspec.lock b/packages/app/pubspec.lock index 711b5c4d..0e1f7a02 100644 --- a/packages/app/pubspec.lock +++ b/packages/app/pubspec.lock @@ -29,10 +29,10 @@ packages: dependency: transitive description: name: asn1lib - sha256: ab96a1cb3beeccf8145c52e449233fe68364c9641623acd3adad66f8184f1039 + sha256: "21afe4333076c02877d14f4a89df111e658a6d466cbfc802eb705eb91bd5adfd" url: "https://pub.dev" source: hosted - version: "1.4.0" + version: "1.5.0" async: dependency: transitive description: @@ -69,26 +69,26 @@ packages: dependency: transitive description: name: camera - sha256: ebebead3d5ec3d148249331d751d462d7e8c98102b8830a9b45ec96a2bd4333f + sha256: b4cede7c66f44fa476272d21bfe143d5f32e75de1ea56f737e3eaf982da23bab url: "https://pub.dev" source: hosted - version: "0.10.5+2" + version: "0.10.5+3" camera_android: dependency: transitive description: name: camera_android - sha256: f43d07f9d7228ea1ca87d22e30881bd68da4b78484a1fbd1f1408b412a41cefb + sha256: "61d62676708f187fb89fb14b371f87470343ba3cb26d08fc358e4f8a18e13150" url: "https://pub.dev" source: hosted - version: "0.10.8+3" + version: "0.10.8+6" camera_avfoundation: dependency: transitive description: name: camera_avfoundation - sha256: "1a416e452b30955b392f4efbf23291d3f2ba3660a85e1628859eb62d2a2bab26" + sha256: "332747f20cf911980e38c8442108102d4456752711781108fda237635baf362c" url: "https://pub.dev" source: hosted - version: "0.9.13+2" + version: "0.9.13+3" camera_platform_interface: dependency: transitive description: @@ -101,10 +101,10 @@ packages: dependency: transitive description: name: camera_web - sha256: bcbd775fb3a9d51cc3ece899d54ad66f6306410556bac5759f78e13f9228841f + sha256: "894df2a4e9ddd77ffecee9553d5980eeabb8bf09d98e53934859e67dc367933b" url: "https://pub.dev" source: hosted - version: "0.3.1+4" + version: "0.3.2+1" characters: dependency: transitive description: @@ -149,10 +149,10 @@ packages: dependency: transitive description: name: collection - sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c" + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.17.1" + version: "1.17.2" conventional_commit: dependency: transitive description: @@ -173,10 +173,10 @@ packages: dependency: transitive description: name: cookie_jar - sha256: "1024f3a52bee181fc8f10f4a359085471587d7406323090a53a7171bc0aa5c37" + sha256: a6ac027d3ed6ed756bfce8f3ff60cb479e266f3b0fdabd6242b804b6765e52de url: "https://pub.dev" source: hosted - version: "4.0.5" + version: "4.0.8" cross_file: dependency: transitive description: @@ -197,10 +197,10 @@ packages: dependency: transitive description: name: crypton - sha256: "886462e83bf642ba10f5382002654d27da8c2e6e1f42d928f12764cfa204f124" + sha256: dc939afa51968664f92d09ac13039884875f38ca31285861a0b3aadc96e0aaa8 url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.2.0" csslib: dependency: transitive description: @@ -236,10 +236,10 @@ packages: dependency: transitive description: name: ffi - sha256: ed5337a5660c506388a9f012be0288fb38b49020ce2b45fe1f8b8323fe429f99 + sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878" url: "https://pub.dev" source: hosted - version: "2.0.2" + version: "2.1.0" file: dependency: transitive description: @@ -259,42 +259,42 @@ packages: dependency: transitive description: name: file_picker - sha256: "9d6e95ec73abbd31ec54d0e0df8a961017e165aba1395e462e5b31ea0c165daf" + sha256: "21145c9c268d54b1f771d8380c195d2d6f655e0567dc1ca2f9c134c02c819e0a" url: "https://pub.dev" source: hosted - version: "5.3.1" + version: "5.3.3" file_selector_linux: dependency: transitive description: name: file_selector_linux - sha256: d17c5e450192cdc40b718804dfb4eaf79a71bed60ee9530703900879ba50baa3 + sha256: "770eb1ab057b5ae4326d1c24cc57710758b9a46026349d021d6311bd27580046" url: "https://pub.dev" source: hosted - version: "0.9.1+3" + version: "0.9.2" file_selector_macos: dependency: transitive description: name: file_selector_macos - sha256: "6290eec24fc4cc62535fe609e0c6714d3c1306191dc8c3b0319eaecc09423a3a" + sha256: "4ada532862917bf16e3adb3891fe3a5917a58bae03293e497082203a80909412" url: "https://pub.dev" source: hosted - version: "0.9.2" + version: "0.9.3+1" file_selector_platform_interface: dependency: transitive description: name: file_selector_platform_interface - sha256: "2a7f4bbf7bd2f022ecea85bfb1754e87f7dd403a9abc17a84a4fa2ddfe2abc0a" + sha256: "412705a646a0ae90f33f37acfae6a0f7cbc02222d6cd34e479421c3e74d3853c" url: "https://pub.dev" source: hosted - version: "2.5.1" + version: "2.6.0" file_selector_windows: dependency: transitive description: name: file_selector_windows - sha256: ef246380b66d1fb9089fc65622c387bf3780bca79f533424c31d07f12c2c7fd8 + sha256: "1372760c6b389842b77156203308940558a2817360154084368608413835fc26" url: "https://pub.dev" source: hosted - version: "0.9.2" + version: "0.9.3" filesize: dependency: transitive description: @@ -333,10 +333,10 @@ packages: dependency: transitive description: name: flutter_file_dialog - sha256: "5a1507833473b38839056d63c5125750a6d12e904f78131324fa4632504de513" + sha256: "9344b8f07be6a1b6f9854b723fb0cf84a8094ba94761af1d213589d3cb087488" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.0.2" flutter_html: dependency: transitive description: @@ -378,10 +378,10 @@ packages: dependency: transitive description: name: flutter_markdown - sha256: dc6d5258653f6857135b32896ccda7f7af0c54dcec832495ad6835154c6c77c0 + sha256: "2b206d397dd7836ea60035b2d43825c8a303a76a5098e66f42d55a753e18d431" url: "https://pub.dev" source: hosted - version: "0.6.15" + version: "0.6.17+1" flutter_native_splash: dependency: "direct main" description: @@ -489,66 +489,66 @@ packages: dependency: transitive description: name: image_picker - sha256: "6432178560d95303cc70d038363f892f5a05750dd27bc55220c7301af54d05e9" + sha256: b6951e25b795d053a6ba03af5f710069c99349de9341af95155d52665cb4607c url: "https://pub.dev" source: hosted - version: "0.8.8" + version: "0.8.9" image_picker_android: dependency: transitive description: name: image_picker_android - sha256: "1ec6830289f5b6aeff3aa8239ea737c71950178dda389342dc2215adb06b4bd8" + sha256: "8179b54039b50eee561676232304f487602e2950ffb3e8995ed9034d6505ca34" url: "https://pub.dev" source: hosted - version: "0.8.6+20" + version: "0.8.7+4" image_picker_for_web: dependency: transitive description: name: image_picker_for_web - sha256: "98f50d6b9f294c8ba35e25cc0d13b04bfddd25dbc8d32fa9d566a6572f2c081c" + sha256: "869fe8a64771b7afbc99fc433a5f7be2fea4d1cb3d7c11a48b6b579eb9c797f0" url: "https://pub.dev" source: hosted - version: "2.1.12" + version: "2.2.0" image_picker_ios: dependency: transitive description: name: image_picker_ios - sha256: d779210bda268a03b57e923fb1e410f32f5c5e708ad256348bcbf1f44f558fd0 + sha256: b3e2f21feb28b24dd73a35d7ad6e83f568337c70afab5eabac876e23803f264b url: "https://pub.dev" source: hosted - version: "0.8.7+4" + version: "0.8.8" image_picker_linux: dependency: transitive description: name: image_picker_linux - sha256: "1d8f9a97178d6b8a035f1d2765f17f8ca3d36a40d5594e742a481b1e002f20be" + sha256: "02cbc21fe1706b97942b575966e5fbbeaac535e76deef70d3a242e4afb857831" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.2.1" image_picker_macos: dependency: transitive description: name: image_picker_macos - sha256: ff094b36d6c06200808f733144a033e45b4e17d59524e1cf7d2af7e4cb94e1ab + sha256: cee2aa86c56780c13af2c77b5f2f72973464db204569e1ba2dd744459a065af4 url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.2.1" image_picker_platform_interface: dependency: transitive description: name: image_picker_platform_interface - sha256: "7c7b96bb9413a9c28229e717e6fd1e3edd1cc5569c1778fcca060ecf729b65ee" + sha256: c1134543ae2187e85299996d21c526b2f403854994026d575ae4cf30d7bb2a32 url: "https://pub.dev" source: hosted - version: "2.8.0" + version: "2.9.0" image_picker_windows: dependency: transitive description: name: image_picker_windows - sha256: bf77b819eb62c487e6af53b9eb213adc12bd060ef7e43f3b1dd69c53cc24a61d + sha256: c3066601ea42113922232c7b7b3330a2d86f029f685bba99d82c30e799914952 url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.2.1" integration_test: dependency: "direct dev" description: flutter @@ -566,10 +566,10 @@ packages: dependency: transitive description: name: intl - sha256: a3715e3bc90294e971cb7dc063fbf3cd9ee0ebf8604ffeafabd9e6f16abbdbe6 + sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" url: "https://pub.dev" source: hosted - version: "0.18.0" + version: "0.18.1" io: dependency: transitive description: @@ -614,26 +614,26 @@ packages: dependency: transitive description: name: markdown - sha256: "8e332924094383133cee218b676871f42db2514f1f6ac617b6cf6152a7faab8e" + sha256: acf35edccc0463a9d7384e437c015a3535772e09714cf60e07eeef3a15870dcd url: "https://pub.dev" source: hosted - version: "7.1.0" + version: "7.1.1" matcher: dependency: transitive description: name: matcher - sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb" + sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" url: "https://pub.dev" source: hosted - version: "0.12.15" + version: "0.12.16" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.5.0" material_design_icons_flutter: dependency: "direct dev" description: @@ -751,10 +751,10 @@ packages: dependency: transitive description: name: package_info_plus - sha256: ceb027f6bc6a60674a233b4a90a7658af1aebdea833da0b5b53c1e9821a78c7b + sha256: "6ff267fcd9d48cb61c8df74a82680e8b82e940231bb5f68356672fde0397334a" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.1.0" package_info_plus_platform_interface: dependency: transitive description: @@ -783,90 +783,90 @@ packages: dependency: transitive description: name: path_provider - sha256: "3087813781ab814e4157b172f1a11c46be20179fcc9bea043e0fba36bc0acaa2" + sha256: "909b84830485dbcd0308edf6f7368bc8fd76afa26a270420f34cabea2a6467a0" url: "https://pub.dev" source: hosted - version: "2.0.15" + version: "2.1.0" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "2cec049d282c7f13c594b4a73976b0b4f2d7a1838a6dd5aaf7bd9719196bee86" + sha256: "5d44fc3314d969b84816b569070d7ace0f1dea04bd94a83f74c4829615d22ad8" url: "https://pub.dev" source: hosted - version: "2.0.27" + version: "2.1.0" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: "1995d88ec2948dac43edf8fe58eb434d35d22a2940ecee1a9fefcd62beee6eb3" + sha256: "1b744d3d774e5a879bb76d6cd1ecee2ba2c6960c03b1020cd35212f6aa267ac5" url: "https://pub.dev" source: hosted - version: "2.2.3" + version: "2.3.0" path_provider_linux: dependency: transitive description: name: path_provider_linux - sha256: ffbb8cc9ed2c9ec0e4b7a541e56fd79b138e8f47d2fb86815f15358a349b3b57 + sha256: ba2b77f0c52a33db09fc8caf85b12df691bf28d983e84cf87ff6d693cfa007b3 url: "https://pub.dev" source: hosted - version: "2.1.11" + version: "2.2.0" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface - sha256: "57585299a729335f1298b43245842678cb9f43a6310351b18fb577d6e33165ec" + sha256: bced5679c7df11190e1ddc35f3222c858f328fff85c3942e46e7f5589bf9eb84 url: "https://pub.dev" source: hosted - version: "2.0.6" + version: "2.1.0" path_provider_windows: dependency: transitive description: name: path_provider_windows - sha256: "1cb68ba4cd3a795033de62ba1b7b4564dace301f952de6bfb3cd91b202b6ee96" + sha256: ee0e0d164516b90ae1f970bdf29f726f1aa730d7cfc449ecc74c495378b705da url: "https://pub.dev" source: hosted - version: "2.1.7" + version: "2.2.0" permission_handler: dependency: transitive description: name: permission_handler - sha256: "1b6b3e73f0bcbc856548bbdfb1c33084a401c4f143e220629a9055233d76c331" + sha256: "63e5216aae014a72fe9579ccd027323395ce7a98271d9defa9d57320d001af81" url: "https://pub.dev" source: hosted - version: "10.3.0" + version: "10.4.3" permission_handler_android: dependency: transitive description: name: permission_handler_android - sha256: "8f6a95ccbca13766882f95d32684d7c9bfe6c45650c32bedba948ef1c6a4ddf7" + sha256: "2ffaf52a21f64ac9b35fe7369bb9533edbd4f698e5604db8645b1064ff4cf221" url: "https://pub.dev" source: hosted - version: "10.2.3" + version: "10.3.3" permission_handler_apple: dependency: transitive description: name: permission_handler_apple - sha256: "08dcb6ce628ac0b257e429944b4c652c2a4e6af725bdf12b498daa2c6b2b1edb" + sha256: "99e220bce3f8877c78e4ace901082fb29fa1b4ebde529ad0932d8d664b34f3f5" url: "https://pub.dev" source: hosted - version: "9.1.0" + version: "9.1.4" permission_handler_platform_interface: dependency: transitive description: name: permission_handler_platform_interface - sha256: de20a5c3269229c1ae2e5a6b822f6cb59578b23e8255c93fbeebfc82116e6b11 + sha256: "7c6b1500385dd1d2ca61bb89e2488ca178e274a69144d26bbd65e33eae7c02a9" url: "https://pub.dev" source: hosted - version: "3.10.0" + version: "3.11.3" permission_handler_windows: dependency: transitive description: name: permission_handler_windows - sha256: f67cab14b4328574938ecea2db3475dad7af7ead6afab6338772c5f88963e38b + sha256: cc074aace208760f1eee6aa4fae766b45d947df85bc831cde77009cdb4720098 url: "https://pub.dev" source: hosted - version: "0.1.2" + version: "0.1.3" petitparser: dependency: transitive description: @@ -887,10 +887,10 @@ packages: dependency: transitive description: name: plugin_platform_interface - sha256: "6a2128648c854906c53fa8e33986fc0247a1116122f9534dd20e3ab9e16a32bc" + sha256: "43798d895c929056255600343db8f049921cbec94d31ec87f1dc5c16c01935dd" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" pointycastle: dependency: transitive description: @@ -975,10 +975,10 @@ packages: dependency: transitive description: name: quick_actions_android - sha256: "1a5e0498ab531b446b2b0b762ed0997f2dbb3d580e0af9009f87f621a278778e" + sha256: e31ae2181d1bd3b07e375feda452ae573c90b65fee6d4ac64cf113c789bff8c3 url: "https://pub.dev" source: hosted - version: "1.0.6" + version: "1.0.7" quick_actions_ios: dependency: transitive description: @@ -1031,18 +1031,18 @@ packages: dependency: transitive description: name: share_plus - sha256: ed3fcea4f789ed95913328e629c0c53e69e80e08b6c24542f1b3576046c614e8 + sha256: "6cec740fa0943a826951223e76218df002804adb588235a8910dc3d6b0654e11" url: "https://pub.dev" source: hosted - version: "7.0.2" + version: "7.1.0" share_plus_platform_interface: dependency: transitive description: name: share_plus_platform_interface - sha256: "0c6e61471bd71b04a138b8b588fa388e66d8b005e6f2deda63371c5c505a0981" + sha256: "357412af4178d8e11d14f41723f80f12caea54cf0d5cd29af9dcdab85d58aea7" url: "https://pub.dev" source: hosted - version: "3.2.1" + version: "3.3.0" shared_preferences: dependency: "direct main" description: @@ -1055,26 +1055,26 @@ packages: dependency: transitive description: name: shared_preferences_android - sha256: "6478c6bbbecfe9aced34c483171e90d7c078f5883558b30ec3163cf18402c749" + sha256: fe8401ec5b6dcd739a0fe9588802069e608c3fdbfd3c3c93e546cf2f90438076 url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.2.0" shared_preferences_foundation: dependency: transitive description: name: shared_preferences_foundation - sha256: e014107bb79d6d3297196f4f2d0db54b5d1f85b8ea8ff63b8e8b391a02700feb + sha256: d29753996d8eb8f7619a1f13df6ce65e34bc107bef6330739ed76f18b22310ef url: "https://pub.dev" source: hosted - version: "2.2.2" + version: "2.3.3" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux - sha256: "9d387433ca65717bbf1be88f4d5bb18f10508917a8fa2fb02e0fd0d7479a9afa" + sha256: "71d6806d1449b0a9d4e85e0c7a917771e672a3d5dc61149cc9fac871115018e1" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.0" shared_preferences_platform_interface: dependency: transitive description: @@ -1087,18 +1087,18 @@ packages: dependency: transitive description: name: shared_preferences_web - sha256: "74083203a8eae241e0de4a0d597dbedab3b8fef5563f33cf3c12d7e93c655ca5" + sha256: "7347b194fb0bbeb4058e6a4e87ee70350b6b2b90f8ac5f8bd5b3a01548f6d33a" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.2.0" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows - sha256: "5e588e2efef56916a3b229c3bfe81e6a525665a454519ca51dbcc4236a274173" + sha256: f95e6a43162bce43c9c3405f3eb6f39e5b5d11f65fab19196cf8225e2777624d url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.0" shortid: dependency: transitive description: @@ -1123,42 +1123,42 @@ packages: dependency: transitive description: name: source_span - sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" sqflite: dependency: transitive description: name: sqflite - sha256: b4d6710e1200e96845747e37338ea8a819a12b51689a3bcf31eff0003b37a0b9 + sha256: "591f1602816e9c31377d5f008c2d9ef7b8aca8941c3f89cc5fd9d84da0c38a9a" url: "https://pub.dev" source: hosted - version: "2.2.8+4" + version: "2.3.0" sqflite_common: dependency: transitive description: name: sqflite_common - sha256: "8f7603f3f8f126740bc55c4ca2d1027aab4b74a1267a3e31ce51fe40e3b65b8f" + sha256: "1b92f368f44b0dee2425bb861cfa17b6f6cf3961f762ff6f941d20b33355660a" url: "https://pub.dev" source: hosted - version: "2.4.5+1" + version: "2.5.0" sqflite_common_ffi: dependency: transitive description: name: sqflite_common_ffi - sha256: f86de82d37403af491b21920a696b19f01465b596f545d1acd4d29a0a72418ad + sha256: "0d5cc1be2eb18400ac6701c31211d44164393aa75886093002ecdd947be04f93" url: "https://pub.dev" source: hosted - version: "2.2.5" + version: "2.3.0+2" sqlite3: dependency: transitive description: name: sqlite3 - sha256: "281b672749af2edf259fc801f0fcba092257425bcd32a0ce1c8237130bc934c7" + sha256: db65233e6b99e99b2548932f55a987961bc06d82a31a0665451fa0b4fff4c3fb url: "https://pub.dev" source: hosted - version: "1.11.2" + version: "2.1.0" stack_trace: dependency: transitive description: @@ -1219,10 +1219,10 @@ packages: dependency: transitive description: name: test_api - sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.5.1" + version: "0.6.0" timezone: dependency: transitive description: @@ -1291,18 +1291,18 @@ packages: dependency: transitive description: name: url_launcher - sha256: eb1e00ab44303d50dd487aab67ebc575456c146c6af44422f9c13889984c00f3 + sha256: "781bd58a1eb16069412365c98597726cd8810ae27435f04b3b4d3a470bacd61e" url: "https://pub.dev" source: hosted - version: "6.1.11" + version: "6.1.12" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: eed4e6a1164aa9794409325c3b707ff424d4d1c2a785e7db67f8bbda00e36e51 + sha256: "3dd2388cc0c42912eee04434531a26a82512b9cb1827e0214430c9bcbddfe025" url: "https://pub.dev" source: hosted - version: "6.0.35" + version: "6.0.38" url_launcher_ios: dependency: transitive description: @@ -1323,34 +1323,34 @@ packages: dependency: transitive description: name: url_launcher_macos - sha256: "91ee3e75ea9dadf38036200c5d3743518f4a5eb77a8d13fda1ee5764373f185e" + sha256: "1c4fdc0bfea61a70792ce97157e5cc17260f61abbe4f39354513f39ec6fd73b1" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.6" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: "6c9ca697a5ae218ce56cece69d46128169a58aa8653c1b01d26fcd4aad8c4370" + sha256: bfdfa402f1f3298637d71ca8ecfe840b4696698213d5346e9d12d4ab647ee2ea url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.3" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "6bb1e5d7fe53daf02a8fee85352432a40b1f868a81880e99ec7440113d5cfcab" + sha256: cc26720eefe98c1b71d85f9dc7ef0cada5132617046369d9dc296b3ecaa5cbb4 url: "https://pub.dev" source: hosted - version: "2.0.17" + version: "2.0.18" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: "254708f17f7c20a9c8c471f67d86d76d4a3f9c1591aad1e15292008aceb82771" + sha256: "7967065dd2b5fccc18c653b97958fdf839c5478c28e767c61ee879f4e7882422" url: "https://pub.dev" source: hosted - version: "3.0.6" + version: "3.0.7" uuid: dependency: transitive description: @@ -1403,10 +1403,10 @@ packages: dependency: transitive description: name: vm_service - sha256: f6deed8ed625c52864792459709183da231ebf66ff0cf09e69b573227c377efe + sha256: c620a6f783fa22436da68e42db7ebbf18b8c44b9a46ab911f666ff09ffd9153f url: "https://pub.dev" source: hosted - version: "11.3.0" + version: "11.7.1" wakelock_plus: dependency: transitive description: @@ -1423,6 +1423,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" + web: + dependency: transitive + description: + name: web + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + url: "https://pub.dev" + source: hosted + version: "0.1.4-beta" webdriver: dependency: transitive description: @@ -1443,50 +1451,50 @@ packages: dependency: transitive description: name: webview_flutter_android - sha256: "57a22c86065375c1598b57224f92d6008141be0c877c64100de8bfb6f71083d8" + sha256: bca797abba472868655b5f1a6029c1132385685ee9db4713cb0e7f33076210c6 url: "https://pub.dev" source: hosted - version: "3.7.1" + version: "3.9.3" webview_flutter_platform_interface: dependency: transitive description: name: webview_flutter_platform_interface - sha256: "656e2aeaef318900fffd21468b6ddc7958c7092a642f0e7220bac328b70d4a81" + sha256: "0ca3cfcc6781a7de701d580917af4a9efc4e3e129f8ead95a80587f0a749480a" url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.5.0" webview_flutter_wkwebview: dependency: transitive description: name: webview_flutter_wkwebview - sha256: "6bbc6ade302b842999b27cbaa7171241c273deea8a9c73f92ceb3d811c767de2" + sha256: ed749f94ac9e814d04a258a9255cf69cfa4cc6006ff59542aea7fb4590144972 url: "https://pub.dev" source: hosted - version: "3.4.4" + version: "3.7.3" win32: dependency: transitive description: name: win32 - sha256: "5a751eddf9db89b3e5f9d50c20ab8612296e4e8db69009788d6c8b060a84191c" + sha256: f2add6fa510d3ae152903412227bda57d0d5a8da61d2c39c1fb022c9429a41c0 url: "https://pub.dev" source: hosted - version: "4.1.4" + version: "5.0.6" window_manager: dependency: transitive description: name: window_manager - sha256: "95096fede562cbb65f30d38b62d819a458f59ba9fe4a317f6cee669710f6676b" + sha256: "9eef00e393e7f9308309ce9a8b2398c9ee3ca78b50c96e8b4f9873945693ac88" url: "https://pub.dev" source: hosted - version: "0.3.4" + version: "0.3.5" xdg_directories: dependency: transitive description: name: xdg_directories - sha256: ee1505df1426458f7f60aac270645098d318a8b4766d85fde75f76f2e21807d1 + sha256: f0c26453a2d47aa4c2570c6a033246a3fc62da2fe23c7ffdd0a7495086dc0247 url: "https://pub.dev" source: hosted - version: "1.0.0" + version: "1.0.2" xml: dependency: transitive description: @@ -1520,5 +1528,5 @@ packages: source: hosted version: "2.1.1" sdks: - dart: ">=3.0.0 <4.0.0" - flutter: ">=3.10.4" + dart: ">=3.1.0 <4.0.0" + flutter: ">=3.13.0" diff --git a/packages/app/pubspec.yaml b/packages/app/pubspec.yaml index 9cd5b2b7..9fd35b77 100644 --- a/packages/app/pubspec.yaml +++ b/packages/app/pubspec.yaml @@ -3,8 +3,8 @@ version: 1.0.0 publish_to: 'none' environment: - sdk: '>=3.0.0 <4.0.0' - flutter: '>=3.10.4' + sdk: '>=3.1.0 <4.0.0' + flutter: '>=3.13.0' dependencies: flutter: diff --git a/packages/dynamite/dynamite/pubspec.yaml b/packages/dynamite/dynamite/pubspec.yaml index aecf4d09..bda67565 100644 --- a/packages/dynamite/dynamite/pubspec.yaml +++ b/packages/dynamite/dynamite/pubspec.yaml @@ -2,7 +2,7 @@ name: dynamite version: 1.0.0 environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.1.0 <4.0.0' dependencies: build: ^2.4.0 diff --git a/packages/dynamite/dynamite_runtime/pubspec.yaml b/packages/dynamite/dynamite_runtime/pubspec.yaml index 0cfa49ff..fc193dfb 100644 --- a/packages/dynamite/dynamite_runtime/pubspec.yaml +++ b/packages/dynamite/dynamite_runtime/pubspec.yaml @@ -3,7 +3,7 @@ description: Helper package for use with dynamite. version: 1.0.0 environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.1.0 <4.0.0' dependencies: built_value: ^8.5.0 diff --git a/packages/file_icons/pubspec.yaml b/packages/file_icons/pubspec.yaml index 42225e35..eabb0aa7 100644 --- a/packages/file_icons/pubspec.yaml +++ b/packages/file_icons/pubspec.yaml @@ -2,8 +2,8 @@ name: file_icons version: 1.0.0 environment: - sdk: '>=3.0.0 <4.0.0' - flutter: '>=3.10.4' + sdk: '>=3.1.0 <4.0.0' + flutter: '>=3.13.0' dependencies: flutter: diff --git a/packages/neon/neon/pubspec.yaml b/packages/neon/neon/pubspec.yaml index 48a7d067..74ec8fec 100644 --- a/packages/neon/neon/pubspec.yaml +++ b/packages/neon/neon/pubspec.yaml @@ -3,8 +3,8 @@ version: 1.0.0 publish_to: 'none' environment: - sdk: '>=3.0.0 <4.0.0' - flutter: '>=3.10.4' + sdk: '>=3.1.0 <4.0.0' + flutter: '>=3.13.0' dependencies: collection: ^1.17.1 diff --git a/packages/neon/neon_files/pubspec.yaml b/packages/neon/neon_files/pubspec.yaml index 5df598f7..1522e443 100644 --- a/packages/neon/neon_files/pubspec.yaml +++ b/packages/neon/neon_files/pubspec.yaml @@ -3,8 +3,8 @@ version: 1.0.0 publish_to: 'none' environment: - sdk: '>=3.0.0 <4.0.0' - flutter: '>=3.10.4' + sdk: '>=3.1.0 <4.0.0' + flutter: '>=3.13.0' dependencies: collection: ^1.17.0 diff --git a/packages/neon/neon_news/pubspec.yaml b/packages/neon/neon_news/pubspec.yaml index 78333b1d..7a5b9a21 100644 --- a/packages/neon/neon_news/pubspec.yaml +++ b/packages/neon/neon_news/pubspec.yaml @@ -3,8 +3,8 @@ version: 1.0.0 publish_to: 'none' environment: - sdk: '>=3.0.0 <4.0.0' - flutter: '>=3.10.4' + sdk: '>=3.1.0 <4.0.0' + flutter: '>=3.13.0' dependencies: flutter: diff --git a/packages/neon/neon_notes/pubspec.yaml b/packages/neon/neon_notes/pubspec.yaml index 7e6c7d9b..0fd91eb9 100644 --- a/packages/neon/neon_notes/pubspec.yaml +++ b/packages/neon/neon_notes/pubspec.yaml @@ -3,8 +3,8 @@ version: 1.0.0 publish_to: 'none' environment: - sdk: '>=3.0.0 <4.0.0' - flutter: '>=3.10.4' + sdk: '>=3.1.0 <4.0.0' + flutter: '>=3.13.0' dependencies: built_collection: ^5.1.1 diff --git a/packages/neon/neon_notifications/pubspec.yaml b/packages/neon/neon_notifications/pubspec.yaml index 89040b64..7f82c39d 100644 --- a/packages/neon/neon_notifications/pubspec.yaml +++ b/packages/neon/neon_notifications/pubspec.yaml @@ -3,8 +3,8 @@ version: 1.0.0 publish_to: 'none' environment: - sdk: '>=3.0.0 <4.0.0' - flutter: '>=3.10.4' + sdk: '>=3.1.0 <4.0.0' + flutter: '>=3.13.0' dependencies: flutter: diff --git a/packages/neon_lints/pubspec.yaml b/packages/neon_lints/pubspec.yaml index 7b10089f..e103e315 100644 --- a/packages/neon_lints/pubspec.yaml +++ b/packages/neon_lints/pubspec.yaml @@ -3,7 +3,7 @@ description: Linting package used in the nextcloud-neon project version: 1.0.0 environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.1.0 <4.0.0' dependencies: http: ^1.1.0 diff --git a/packages/nextcloud/pubspec.yaml b/packages/nextcloud/pubspec.yaml index cab07fe6..83803adf 100644 --- a/packages/nextcloud/pubspec.yaml +++ b/packages/nextcloud/pubspec.yaml @@ -3,7 +3,7 @@ version: 1.0.0 publish_to: none environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.1.0 <4.0.0' dependencies: built_collection: ^5.1.1 diff --git a/packages/sort_box/pubspec.yaml b/packages/sort_box/pubspec.yaml index 0d82372c..0f86375d 100644 --- a/packages/sort_box/pubspec.yaml +++ b/packages/sort_box/pubspec.yaml @@ -2,7 +2,7 @@ name: sort_box version: 1.0.0 environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.1.0 <4.0.0' dev_dependencies: neon_lints: From 1c576a60054e56b1e11ef168093cb98e46c8b9af Mon Sep 17 00:00:00 2001 From: jld3103 Date: Thu, 17 Aug 2023 08:31:55 +0200 Subject: [PATCH 2/3] feat(neon_lints): Enable new available rules Signed-off-by: jld3103 --- packages/neon_lints/bin/neon_lints.dart | 5 +---- packages/neon_lints/lib/dart.yaml | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/neon_lints/bin/neon_lints.dart b/packages/neon_lints/bin/neon_lints.dart index ff62cd2e..15a7e572 100644 --- a/packages/neon_lints/bin/neon_lints.dart +++ b/packages/neon_lints/bin/neon_lints.dart @@ -27,10 +27,7 @@ const disabledRules = [ /// Rules that won't be added to the list. /// /// This is needed for rules not yet available in the current dart version. -const excludedRules = [ - 'no_self_assignments', - 'no_wildcard_variable_uses', -]; +const excludedRules = []; /// Commit hash to use to fetch the rules from upstream const commitHash = '7f40f11'; diff --git a/packages/neon_lints/lib/dart.yaml b/packages/neon_lints/lib/dart.yaml index 881999a4..76b61b44 100644 --- a/packages/neon_lints/lib/dart.yaml +++ b/packages/neon_lints/lib/dart.yaml @@ -105,6 +105,8 @@ linter: no_literal_bool_comparisons: true no_logic_in_create_state: true no_runtimeType_toString: true + no_self_assignments: true + no_wildcard_variable_uses: true non_constant_identifier_names: true noop_primitive_operations: true null_check_on_nullable_type_parameter: true From e2ba362baf6f0381dfc658666f2cde1121bded1a Mon Sep 17 00:00:00 2001 From: jld3103 Date: Thu, 17 Aug 2023 08:35:19 +0200 Subject: [PATCH 3/3] chore(dynamite,neon,neon_files,neon_news,nextcloud): Fix linter complaints Signed-off-by: jld3103 --- .../dynamite/lib/src/openapi_builder.dart | 4 +-- .../test/content_string_test.dart | 34 +++++++++---------- packages/neon/neon/lib/src/pages/home.dart | 4 ++- .../neon/neon/lib/src/pages/settings.dart | 10 ++++-- packages/neon/neon/lib/src/router.dart | 2 +- .../lib/src/widgets/account_switcher.dart | 2 +- .../neon/lib/src/widgets/image_wrapper.dart | 2 +- .../neon/neon_files/lib/widgets/actions.dart | 15 ++++++++ .../lib/widgets/file_list_tile.dart | 2 +- .../neon_news/lib/widgets/feeds_view.dart | 9 +++++ .../neon_news/lib/widgets/folders_view.dart | 3 ++ .../nextcloud/lib/src/api/core.openapi.dart | 4 +-- .../lib/src/api/files_sharing.openapi.dart | 6 ++-- .../lib/src/api/provisioning_api.openapi.dart | 28 +++++++-------- .../lib/src/api/settings.openapi.dart | 2 +- .../lib/src/api/user_status.openapi.dart | 2 +- 16 files changed, 81 insertions(+), 48 deletions(-) diff --git a/packages/dynamite/dynamite/lib/src/openapi_builder.dart b/packages/dynamite/dynamite/lib/src/openapi_builder.dart index fc541c86..1d88b1f1 100644 --- a/packages/dynamite/dynamite/lib/src/openapi_builder.dart +++ b/packages/dynamite/dynamite/lib/src/openapi_builder.dart @@ -1113,7 +1113,7 @@ TypeResult resolveObject( ..type = refer('String') ..annotations.add(refer('override')) ..assignment = Code("r'${state.prefix}$identifier'"), - ) + ), ]) ..methods.addAll([ Method((final b) { @@ -1389,7 +1389,7 @@ TypeResult resolveType( ..type = refer('String') ..annotations.add(refer('override')) ..assignment = Code("r'${state.prefix}$identifier'"), - ) + ), ]) ..methods.addAll([ Method((final b) { diff --git a/packages/dynamite/dynamite_runtime/test/content_string_test.dart b/packages/dynamite/dynamite_runtime/test/content_string_test.dart index f9c88d0f..331e98dd 100644 --- a/packages/dynamite/dynamite_runtime/test/content_string_test.dart +++ b/packages/dynamite/dynamite_runtime/test/content_string_test.dart @@ -20,14 +20,14 @@ final Serializers serializers = (_$serializers.toBuilder() ..addBuilderFactory(const FullType(ContentString, [FullType(double)]), ContentStringBuilder.new) ..addBuilderFactory( const FullType(ContentString, [ - FullType(BuiltList, [FullType(int)]) + FullType(BuiltList, [FullType(int)]), ]), ContentStringBuilder>.new, ) ..addBuilderFactory(const FullType(BuiltList, [FullType(int)]), ListBuilder.new) ..addBuilderFactory( const FullType(ContentString, [ - FullType(BuiltMap, [FullType(String), FullType(int)]) + FullType(BuiltMap, [FullType(String), FullType(int)]), ]), ContentStringBuilder>.new, ) @@ -36,7 +36,7 @@ final Serializers serializers = (_$serializers.toBuilder() ..addBuilderFactory(const FullType(ContentString, [FullType(String)]), ContentStringBuilder.new) ..addBuilderFactory( const FullType(ContentString, [ - FullType(ContentString, [FullType(String)]) + FullType(ContentString, [FullType(String)]), ]), ContentStringBuilder>.new, )) @@ -62,7 +62,7 @@ void main() { final serialized = json.decode( json.encode({ r'$': 'ContentString', - 'content': {r'$': 'bool', '': true} + 'content': {r'$': 'bool', '': true}, }), ) as Object; const specifiedType = FullType.unspecified; @@ -95,7 +95,7 @@ void main() { final serialized = json.decode( json.encode({ r'$': 'ContentString', - 'content': {r'$': 'double', '': 42.5} + 'content': {r'$': 'double', '': 42.5}, }), ) as Object; const specifiedType = FullType.unspecified; @@ -113,7 +113,7 @@ void main() { final data = ContentString>((final b) => b..content = BuiltList([1, 2, 3])); final serialized = json.encode([1, 2, 3]); const specifiedType = FullType(ContentString, [ - FullType(BuiltList, [FullType(int)]) + FullType(BuiltList, [FullType(int)]), ]); test('can be serialized', () { @@ -135,9 +135,9 @@ void main() { '': [ {r'$': 'int', '': 1}, {r'$': 'int', '': 2}, - {r'$': 'int', '': 3} - ] - } + {r'$': 'int', '': 3}, + ], + }, }), ) as Object; const specifiedType = FullType.unspecified; @@ -158,7 +158,7 @@ void main() { // using the StandardJsonPlugin will encode it to a valid Map. final serialized = json.encode({'one': 1, 'two': 2, 'three': 3}); const specifiedType = FullType(ContentString, [ - FullType(BuiltMap, [FullType(String), FullType(int)]) + FullType(BuiltMap, [FullType(String), FullType(int)]), ]); test('can be serialized', () { @@ -179,8 +179,8 @@ void main() { r'$': 'encoded_map', r'{"$":"String","":"one"}': {r'$': 'int', '': 1}, r'{"$":"String","":"two"}': {r'$': 'int', '': 2}, - r'{"$":"String","":"three"}': {r'$': 'int', '': 3} - } + r'{"$":"String","":"three"}': {r'$': 'int', '': 3}, + }, }), ) as Object; const specifiedType = FullType.unspecified; @@ -216,7 +216,7 @@ void main() { final serialized = json.decode( json.encode({ r'$': 'ContentString', - 'content': {r'$': 'int', '': 42} + 'content': {r'$': 'int', '': 42}, }), ) as Object; const specifiedType = FullType.unspecified; @@ -249,7 +249,7 @@ void main() { final serialized = json.decode( json.encode({ r'$': 'ContentString', - 'content': {r'$': 'String', '': 'test'} + 'content': {r'$': 'String', '': 'test'}, }), ) as Object; const specifiedType = FullType.unspecified; @@ -272,7 +272,7 @@ void main() { ); final serialized = json.encode(json.encode('test')); const specifiedType = FullType(ContentString, [ - FullType(ContentString, [FullType(String)]) + FullType(ContentString, [FullType(String)]), ]); test('can be serialized', () { @@ -296,8 +296,8 @@ void main() { r'$': 'ContentString', 'content': { r'$': 'ContentString', - 'content': {r'$': 'String', '': 'test'} - } + 'content': {r'$': 'String', '': 'test'}, + }, }), ) as Object; const specifiedType = FullType.unspecified; diff --git a/packages/neon/neon/lib/src/pages/home.dart b/packages/neon/neon/lib/src/pages/home.dart index f0792c17..6db33cc4 100644 --- a/packages/neon/neon/lib/src/pages/home.dart +++ b/packages/neon/neon/lib/src/pages/home.dart @@ -89,7 +89,9 @@ class _HomePageState extends State { } catch (e, s) { debugPrint(e.toString()); debugPrint(s.toString()); - NeonException.showSnackbar(context, e); + if (mounted) { + NeonException.showSnackbar(context, e); + } } } diff --git a/packages/neon/neon/lib/src/pages/settings.dart b/packages/neon/neon/lib/src/pages/settings.dart index 5065abc5..8baf90f7 100644 --- a/packages/neon/neon/lib/src/pages/settings.dart +++ b/packages/neon/neon/lib/src/pages/settings.dart @@ -217,7 +217,7 @@ class _SettingsPageState extends State { icon: Icon(MdiIcons.accountPlus), label: Text(AppLocalizations.of(context).globalOptionsAccountsAdd), ), - ) + ), ], ), SettingsCategory( @@ -264,7 +264,9 @@ class _SettingsPageState extends State { } catch (e, s) { debugPrint(e.toString()); debugPrint(s.toString()); - NeonException.showSnackbar(context, e); + if (mounted) { + NeonException.showSnackbar(context, e); + } } }, ), @@ -302,7 +304,9 @@ class _SettingsPageState extends State { } catch (e, s) { debugPrint(e.toString()); debugPrint(s.toString()); - NeonException.showSnackbar(context, e); + if (mounted) { + NeonException.showSnackbar(context, e); + } } }, ), diff --git a/packages/neon/neon/lib/src/router.dart b/packages/neon/neon/lib/src/router.dart index 509e8f5d..8db0007f 100644 --- a/packages/neon/neon/lib/src/router.dart +++ b/packages/neon/neon/lib/src/router.dart @@ -109,7 +109,7 @@ class AccountSettingsRoute extends GoRouteData { name: 'AccountSettings', ), ], - ) + ), ], ) @immutable diff --git a/packages/neon/neon/lib/src/widgets/account_switcher.dart b/packages/neon/neon/lib/src/widgets/account_switcher.dart index 869c60de..539218ee 100644 --- a/packages/neon/neon/lib/src/widgets/account_switcher.dart +++ b/packages/neon/neon/lib/src/widgets/account_switcher.dart @@ -59,7 +59,7 @@ class AccountSwitcherButton extends StatelessWidget { Navigator.of(context).pop(); const SettingsRoute(initialCategory: SettingsCageories.accounts).push(context); }, - ) + ), ], ); diff --git a/packages/neon/neon/lib/src/widgets/image_wrapper.dart b/packages/neon/neon/lib/src/widgets/image_wrapper.dart index f77b967c..e30cfee3 100644 --- a/packages/neon/neon/lib/src/widgets/image_wrapper.dart +++ b/packages/neon/neon/lib/src/widgets/image_wrapper.dart @@ -16,7 +16,7 @@ class NeonImageWrapper extends StatelessWidget { @override Widget build(final BuildContext context) => ClipRRect( - borderRadius: borderRadius, + borderRadius: borderRadius ?? BorderRadius.zero, child: ColorFiltered( colorFilter: ColorFilter.mode(color, BlendMode.dstATop), child: SizedBox.fromSize( diff --git a/packages/neon/neon_files/lib/widgets/actions.dart b/packages/neon/neon_files/lib/widgets/actions.dart index 334228e6..1e39ea41 100644 --- a/packages/neon/neon_files/lib/widgets/actions.dart +++ b/packages/neon/neon_files/lib/widgets/actions.dart @@ -33,6 +33,9 @@ class FileActions extends StatelessWidget { ), ); case FilesFileAction.rename: + if (!context.mounted) { + return; + } final result = await showRenameDialog( context: context, title: @@ -43,6 +46,9 @@ class FileActions extends StatelessWidget { bloc.rename(details.path, result); } case FilesFileAction.move: + if (!context.mounted) { + return; + } final b = bloc.getNewFilesBrowserBloc(); final originalPath = details.path.sublist(0, details.path.length - 1); b.setPath(originalPath); @@ -59,6 +65,9 @@ class FileActions extends StatelessWidget { bloc.move(details.path, result..add(details.name)); } case FilesFileAction.copy: + if (!context.mounted) { + return; + } final b = bloc.getNewFilesBrowserBloc(); final originalPath = details.path.sublist(0, details.path.length - 1); b.setPath(originalPath); @@ -75,6 +84,9 @@ class FileActions extends StatelessWidget { bloc.copy(details.path, result..add(details.name)); } case FilesFileAction.sync: + if (!context.mounted) { + return; + } final sizeWarning = browserBloc.options.downloadSizeWarning.value; if (sizeWarning != null && details.size != null && details.size! > sizeWarning) { if (!(await showConfirmationDialog( @@ -89,6 +101,9 @@ class FileActions extends StatelessWidget { } bloc.syncFile(details.path); case FilesFileAction.delete: + if (!context.mounted) { + return; + } if (await showConfirmationDialog( context, details.isDirectory diff --git a/packages/neon/neon_files/lib/widgets/file_list_tile.dart b/packages/neon/neon_files/lib/widgets/file_list_tile.dart index 9cb70a40..c03db4ee 100644 --- a/packages/neon/neon_files/lib/widgets/file_list_tile.dart +++ b/packages/neon/neon_files/lib/widgets/file_list_tile.dart @@ -122,7 +122,7 @@ class _FileIcon extends StatelessWidget { size: 14, color: Colors.yellow, ), - ) + ), ], ); } diff --git a/packages/neon/neon_news/lib/widgets/feeds_view.dart b/packages/neon/neon_news/lib/widgets/feeds_view.dart index ddebd570..107c3ffe 100644 --- a/packages/neon/neon_news/lib/widgets/feeds_view.dart +++ b/packages/neon/neon_news/lib/widgets/feeds_view.dart @@ -112,6 +112,9 @@ class NewsFeedsView extends StatelessWidget { ), ); case NewsFeedAction.delete: + if (!context.mounted) { + return; + } if (await showConfirmationDialog( context, AppLocalizations.of(context).feedRemoveConfirm(feed.title), @@ -119,6 +122,9 @@ class NewsFeedsView extends StatelessWidget { bloc.removeFeed(feed.id); } case NewsFeedAction.rename: + if (!context.mounted) { + return; + } final result = await showRenameDialog( context: context, title: AppLocalizations.of(context).feedRename, @@ -128,6 +134,9 @@ class NewsFeedsView extends StatelessWidget { bloc.renameFeed(feed.id, result); } case NewsFeedAction.move: + if (!context.mounted) { + return; + } final result = await showDialog>( context: context, builder: (final context) => NewsMoveFeedDialog( diff --git a/packages/neon/neon_news/lib/widgets/folders_view.dart b/packages/neon/neon_news/lib/widgets/folders_view.dart index 5b308663..058f70d0 100644 --- a/packages/neon/neon_news/lib/widgets/folders_view.dart +++ b/packages/neon/neon_news/lib/widgets/folders_view.dart @@ -93,6 +93,9 @@ class NewsFoldersView extends StatelessWidget { bloc.deleteFolder(folder.id); } case NewsFolderAction.rename: + if (!context.mounted) { + return; + } final result = await showRenameDialog( context: context, title: AppLocalizations.of(context).folderRename, diff --git a/packages/nextcloud/lib/src/api/core.openapi.dart b/packages/nextcloud/lib/src/api/core.openapi.dart index c0b0922f..1ca47606 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.dart @@ -4138,7 +4138,7 @@ class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesSer @override final Iterable types = const [ CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References, - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References, ]; @override @@ -4282,7 +4282,7 @@ class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesSer @override final Iterable types = const [ CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References, - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References, ]; @override diff --git a/packages/nextcloud/lib/src/api/files_sharing.openapi.dart b/packages/nextcloud/lib/src/api/files_sharing.openapi.dart index ba9f4b4c..9a267898 100644 --- a/packages/nextcloud/lib/src/api/files_sharing.openapi.dart +++ b/packages/nextcloud/lib/src/api/files_sharing.openapi.dart @@ -2379,7 +2379,7 @@ class _$FilesSharingShareesapiShareesapiSearchHeadersSerializer @override final Iterable types = const [ FilesSharingShareesapiShareesapiSearchHeaders, - _$FilesSharingShareesapiShareesapiSearchHeaders + _$FilesSharingShareesapiShareesapiSearchHeaders, ]; @override @@ -3455,7 +3455,7 @@ class _$FilesSharingShareesapiFindRecommendedShareTypeSerializer @override final Iterable types = const [ FilesSharingShareesapiFindRecommendedShareType, - _$FilesSharingShareesapiFindRecommendedShareType + _$FilesSharingShareesapiFindRecommendedShareType, ]; @override @@ -4119,7 +4119,7 @@ final Serializers _serializers = (Serializers().toBuilder() ) ..addBuilderFactory( const FullType(BuiltList, [ - FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), ]), ListBuilder.new, ) diff --git a/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart b/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart index 42adecb4..77e74e6b 100644 --- a/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart +++ b/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart @@ -1043,7 +1043,7 @@ class ProvisioningApiPreferencesClient { queryParameters['configs'] = _jsonSerializers.serialize( configs, specifiedType: const FullType(ContentString, [ - FullType(BuiltMap, [FullType(String), FullType(String)]) + FullType(BuiltMap, [FullType(String), FullType(String)]), ]), ); path = path.replaceAll('{appId}', Uri.encodeQueryComponent(appId)); @@ -1313,8 +1313,8 @@ class ProvisioningApiUsersClient { specifiedType: const FullType(ContentString, [ FullType(BuiltMap, [ FullType(String), - FullType(BuiltList, [FullType(String)]) - ]) + FullType(BuiltList, [FullType(String)]), + ]), ]), ); headers['OCS-APIRequest'] = oCSAPIRequest; @@ -3349,7 +3349,7 @@ class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_ @override final Iterable types = const [ ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users, - _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users, ]; @override @@ -4140,7 +4140,7 @@ class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_U @override final Iterable types = const [ ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users, - _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users, ]; @override @@ -5510,7 +5510,7 @@ final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory( const FullType(BuiltMap, [ FullType(String), - FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users) + FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users), ]), MapBuilder.new, ) @@ -5585,7 +5585,7 @@ final Serializers _serializers = (Serializers().toBuilder() ) ..addBuilderFactory( const FullType(ContentString, [ - FullType(BuiltMap, [FullType(String), FullType(String)]) + FullType(BuiltMap, [FullType(String), FullType(String)]), ]), ContentString>.new, ) @@ -5666,16 +5666,16 @@ final Serializers _serializers = (Serializers().toBuilder() ) ..add(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1.serializer) ..addBuilderFactory( - const FullType( - BuiltMap, - [FullType(String), FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users)], - ), + const FullType(BuiltMap, [ + FullType(String), + FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users), + ]), MapBuilder.new, ) ..addBuilderFactory( const FullType(BuiltMap, [ FullType(String), - FullType(BuiltList, [FullType(String)]) + FullType(BuiltList, [FullType(String)]), ]), MapBuilder.new, ) @@ -5683,8 +5683,8 @@ final Serializers _serializers = (Serializers().toBuilder() const FullType(ContentString, [ FullType(BuiltMap, [ FullType(String), - FullType(BuiltList, [FullType(String)]) - ]) + FullType(BuiltList, [FullType(String)]), + ]), ]), ContentString>>.new, ) diff --git a/packages/nextcloud/lib/src/api/settings.openapi.dart b/packages/nextcloud/lib/src/api/settings.openapi.dart index 3261c3a2..9f11e543 100644 --- a/packages/nextcloud/lib/src/api/settings.openapi.dart +++ b/packages/nextcloud/lib/src/api/settings.openapi.dart @@ -151,7 +151,7 @@ class _$SettingsLogSettingsLogSettingsDownloadHeadersSerializer @override final Iterable types = const [ SettingsLogSettingsLogSettingsDownloadHeaders, - _$SettingsLogSettingsLogSettingsDownloadHeaders + _$SettingsLogSettingsLogSettingsDownloadHeaders, ]; @override diff --git a/packages/nextcloud/lib/src/api/user_status.openapi.dart b/packages/nextcloud/lib/src/api/user_status.openapi.dart index ec34ddb9..f4c458e8 100644 --- a/packages/nextcloud/lib/src/api/user_status.openapi.dart +++ b/packages/nextcloud/lib/src/api/user_status.openapi.dart @@ -1258,7 +1258,7 @@ class _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataSeria @override final Iterable types = const [ UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data, - _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data, ]; @override