diff --git a/analysis_options.yaml b/analysis_options.yaml index 67c406f74b..208f4cc18e 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -4,18 +4,18 @@ # # include: ../../analysis_options.yaml # -include: package:pedantic/analysis_options.yaml - -analyzer: - enable-experiment: - - non-nullable - exclude: - # Ignore generated files - - '**/*.g.dart' - - 'lib/src/generated/*.dart' +include: package:flutter_lints/flutter.yaml linter: + # The lint rules applied to this project can be customized in the + # section below to disable rules from the `package:flutter_lints/flutter.yaml` + # included above or to enable additional rules. A list of all available lints + # and their documentation is published at + # https://dart-lang.github.io/linter/lints/index.html. + rules: - public_member_api_docs: true - prefer_final_in_for_each: true - prefer_final_locals: true + avoid_print: false # Uncomment to disable the `avoid_print` rule + prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule + +# Additional information about this file can be found at +# https://dart.dev/guides/language/analysis-options \ No newline at end of file diff --git a/melos.yaml b/melos.yaml index 6ebf9be50e..e5111305b8 100644 --- a/melos.yaml +++ b/melos.yaml @@ -108,7 +108,7 @@ scripts: rm -rf ./build ./android/.gradle ./ios/.symlinks ./ios/Pods ./android/.idea ./.idea ./.dart-tool/build dev_dependencies: - pedantic: 1.10.0 + flutter_lints: ^1.0.4 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/android_alarm_manager_plus/example/pubspec.yaml b/packages/android_alarm_manager_plus/example/pubspec.yaml index cc25168fc7..87dac95a50 100644 --- a/packages/android_alarm_manager_plus/example/pubspec.yaml +++ b/packages/android_alarm_manager_plus/example/pubspec.yaml @@ -18,9 +18,9 @@ dev_dependencies: espresso: ^0.0.1+5 flutter_driver: sdk: flutter + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.9.2 flutter: uses-material-design: true diff --git a/packages/android_alarm_manager_plus/pubspec.yaml b/packages/android_alarm_manager_plus/pubspec.yaml index a41af2fb91..b1383fbab1 100644 --- a/packages/android_alarm_manager_plus/pubspec.yaml +++ b/packages/android_alarm_manager_plus/pubspec.yaml @@ -1,7 +1,7 @@ name: android_alarm_manager_plus description: Flutter plugin for accessing the Android AlarmManager service, and running Dart code in the background when alarms fire. -version: 1.3.0 +version: 1.2.0 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ @@ -10,9 +10,9 @@ dependencies: sdk: flutter dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 flutter: plugin: diff --git a/packages/android_intent_plus/example/pubspec.yaml b/packages/android_intent_plus/example/pubspec.yaml index e85ba191ee..833ee4f1c4 100644 --- a/packages/android_intent_plus/example/pubspec.yaml +++ b/packages/android_intent_plus/example/pubspec.yaml @@ -11,11 +11,10 @@ dependencies: path: ../ dev_dependencies: - flutter_driver: - sdk: flutter integration_test: + flutter_driver: sdk: flutter - pedantic: ^1.8.0 + flutter_lints: ^1.0.4 # The following section is specific to Flutter. flutter: diff --git a/packages/android_intent_plus/pubspec.yaml b/packages/android_intent_plus/pubspec.yaml index 8b364a1a1b..8c87535ad0 100644 --- a/packages/android_intent_plus/pubspec.yaml +++ b/packages/android_intent_plus/pubspec.yaml @@ -1,6 +1,6 @@ name: android_intent_plus description: Flutter plugin for launching Android Intents. Not supported on iOS. -version: 2.1.0 +version: 2.0.0 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ @@ -26,4 +26,4 @@ dev_dependencies: sdk: flutter test: ^1.16.4 mockito: ^5.0.0 - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 diff --git a/packages/battery_plus/battery_plus/example/pubspec.yaml b/packages/battery_plus/battery_plus/example/pubspec.yaml index d7deba9736..436e324d2d 100644 --- a/packages/battery_plus/battery_plus/example/pubspec.yaml +++ b/packages/battery_plus/battery_plus/example/pubspec.yaml @@ -13,9 +13,10 @@ dependencies: dev_dependencies: flutter_driver: sdk: flutter + flutter_lints: ^1.0.4 integration_test: sdk: flutter - pedantic: ^1.9.2 + dependency_overrides: args: ^2.0.0 diff --git a/packages/battery_plus/battery_plus/pubspec.yaml b/packages/battery_plus/battery_plus/pubspec.yaml index 6135adaddf..703967f9c6 100644 --- a/packages/battery_plus/battery_plus/pubspec.yaml +++ b/packages/battery_plus/battery_plus/pubspec.yaml @@ -1,6 +1,6 @@ name: battery_plus description: Flutter plugin for accessing information about the battery state(full, charging, discharging). -version: 1.2.0 +version: 1.1.1 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ @@ -38,7 +38,7 @@ dev_dependencies: async: ^2.5.0 plugin_platform_interface: ^2.0.0 test: ^1.16.4 - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/battery_plus/battery_plus_linux/pubspec.yaml b/packages/battery_plus/battery_plus_linux/pubspec.yaml index 65080b11f8..bc18461183 100644 --- a/packages/battery_plus/battery_plus_linux/pubspec.yaml +++ b/packages/battery_plus/battery_plus_linux/pubspec.yaml @@ -16,9 +16,9 @@ dependencies: meta: ^1.3.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 flutter: plugin: diff --git a/packages/battery_plus/battery_plus_platform_interface/pubspec.yaml b/packages/battery_plus/battery_plus_platform_interface/pubspec.yaml index ffbaa5a6ae..0e57b47f95 100644 --- a/packages/battery_plus/battery_plus_platform_interface/pubspec.yaml +++ b/packages/battery_plus/battery_plus_platform_interface/pubspec.yaml @@ -15,6 +15,6 @@ dependencies: plugin_platform_interface: ^2.0.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 diff --git a/packages/connectivity_plus/connectivity_plus/example/pubspec.yaml b/packages/connectivity_plus/connectivity_plus/example/pubspec.yaml index 6806a94093..fdd4fea65f 100644 --- a/packages/connectivity_plus/connectivity_plus/example/pubspec.yaml +++ b/packages/connectivity_plus/connectivity_plus/example/pubspec.yaml @@ -13,10 +13,10 @@ dependencies: dev_dependencies: flutter_driver: sdk: flutter + test: ^1.16.4 integration_test: sdk: flutter - test: ^1.16.4 - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 dependency_overrides: args: ^2.0.0 diff --git a/packages/connectivity_plus/connectivity_plus/pubspec.yaml b/packages/connectivity_plus/connectivity_plus/pubspec.yaml index 1dda54e660..507bda2a39 100644 --- a/packages/connectivity_plus/connectivity_plus/pubspec.yaml +++ b/packages/connectivity_plus/connectivity_plus/pubspec.yaml @@ -1,6 +1,6 @@ name: connectivity_plus description: Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS. -version: 1.2.0 +version: 1.1.0 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ @@ -41,4 +41,4 @@ dev_dependencies: test: ^1.16.4 mockito: ^5.0.0 plugin_platform_interface: ^2.0.0 - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 diff --git a/packages/connectivity_plus/connectivity_plus_linux/pubspec.yaml b/packages/connectivity_plus/connectivity_plus_linux/pubspec.yaml index 60182f9da7..ad1a82ea0e 100644 --- a/packages/connectivity_plus/connectivity_plus_linux/pubspec.yaml +++ b/packages/connectivity_plus/connectivity_plus_linux/pubspec.yaml @@ -21,7 +21,7 @@ dev_dependencies: sdk: flutter build_runner: ^1.11.5 mockito: ^5.0.0 - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 flutter: plugin: diff --git a/packages/connectivity_plus/connectivity_plus_platform_interface/pubspec.yaml b/packages/connectivity_plus/connectivity_plus_platform_interface/pubspec.yaml index 5f86ebabb0..37e9e3acb3 100644 --- a/packages/connectivity_plus/connectivity_plus_platform_interface/pubspec.yaml +++ b/packages/connectivity_plus/connectivity_plus_platform_interface/pubspec.yaml @@ -15,6 +15,6 @@ dependencies: plugin_platform_interface: ^2.0.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 diff --git a/packages/connectivity_plus/connectivity_plus_web/pubspec.yaml b/packages/connectivity_plus/connectivity_plus_web/pubspec.yaml index ca7148ebb4..21e53ddb46 100644 --- a/packages/connectivity_plus/connectivity_plus_web/pubspec.yaml +++ b/packages/connectivity_plus/connectivity_plus_web/pubspec.yaml @@ -26,4 +26,4 @@ dev_dependencies: test: ^1.16.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 diff --git a/packages/device_info_plus/device_info_plus/example/pubspec.yaml b/packages/device_info_plus/device_info_plus/example/pubspec.yaml index 458801c370..40275c344a 100644 --- a/packages/device_info_plus/device_info_plus/example/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus/example/pubspec.yaml @@ -10,9 +10,9 @@ dependencies: dev_dependencies: flutter_driver: sdk: flutter + flutter_lints: ^1.0.4 integration_test: sdk: flutter - pedantic: ^1.10.0 flutter: uses-material-design: true diff --git a/packages/device_info_plus/device_info_plus/pubspec.yaml b/packages/device_info_plus/device_info_plus/pubspec.yaml index a9e1664b4c..246eef8035 100644 --- a/packages/device_info_plus/device_info_plus/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus/pubspec.yaml @@ -1,7 +1,7 @@ name: device_info_plus description: Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on. -version: 2.2.0 +version: 2.1.0 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ @@ -35,7 +35,7 @@ dev_dependencies: test: ^1.16.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/device_info_plus/device_info_plus_linux/pubspec.yaml b/packages/device_info_plus/device_info_plus_linux/pubspec.yaml index f432686334..ddf871bfc4 100644 --- a/packages/device_info_plus/device_info_plus_linux/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus_linux/pubspec.yaml @@ -16,6 +16,6 @@ dependencies: meta: ^1.3.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 diff --git a/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml b/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml index 9e9681a876..3edf6c3da7 100644 --- a/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml @@ -11,10 +11,10 @@ dependencies: plugin_platform_interface: ^2.0.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter mockito: ^5.0.0 - pedantic: ^1.10.0 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/device_info_plus/device_info_plus_web/pubspec.yaml b/packages/device_info_plus/device_info_plus_web/pubspec.yaml index 998a8c7aae..51412037c9 100644 --- a/packages/device_info_plus/device_info_plus_web/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus_web/pubspec.yaml @@ -23,7 +23,7 @@ dev_dependencies: flutter_test: sdk: flutter mockito: ^5.0.0 - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/network_info_plus/network_info_plus/example/pubspec.yaml b/packages/network_info_plus/network_info_plus/example/pubspec.yaml index 488b43546a..1aba8bd828 100644 --- a/packages/network_info_plus/network_info_plus/example/pubspec.yaml +++ b/packages/network_info_plus/network_info_plus/example/pubspec.yaml @@ -13,10 +13,10 @@ dependencies: dev_dependencies: flutter_driver: sdk: flutter + test: ^1.16.4 integration_test: sdk: flutter - test: ^1.16.4 - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 dependency_overrides: args: ^2.0.0 diff --git a/packages/network_info_plus/network_info_plus/ios/Classes/getgateway.c b/packages/network_info_plus/network_info_plus/ios/Classes/getgateway.c index b7e10c022f..54596f430c 100644 --- a/packages/network_info_plus/network_info_plus/ios/Classes/getgateway.c +++ b/packages/network_info_plus/network_info_plus/ios/Classes/getgateway.c @@ -13,8 +13,14 @@ #include #include "getgateway.h" -#include "route.h" -#define TypeEN "en0" +#include "TargetConditionals.h" +#if TARGET_IPHONE_SIMULATOR + #include + #define TypeEN "en1" +#else + #include "route.h" + #define TypeEN "en0" +#endif #include #include diff --git a/packages/network_info_plus/network_info_plus/pubspec.yaml b/packages/network_info_plus/network_info_plus/pubspec.yaml index 0d57c2336a..fac94c94f8 100644 --- a/packages/network_info_plus/network_info_plus/pubspec.yaml +++ b/packages/network_info_plus/network_info_plus/pubspec.yaml @@ -1,6 +1,6 @@ name: network_info_plus description: Flutter plugin for discovering information (e.g. WiFi details) of the network. -version: 1.2.1 +version: 1.1.0 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ @@ -37,7 +37,7 @@ dev_dependencies: test: ^1.16.4 mockito: ^5.0.0 plugin_platform_interface: ^2.0.0 - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/network_info_plus/network_info_plus_linux/pubspec.yaml b/packages/network_info_plus/network_info_plus_linux/pubspec.yaml index ce0760a69e..b91de6037c 100644 --- a/packages/network_info_plus/network_info_plus_linux/pubspec.yaml +++ b/packages/network_info_plus/network_info_plus_linux/pubspec.yaml @@ -17,9 +17,9 @@ dependencies: nm: ^0.3.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 flutter: plugin: diff --git a/packages/network_info_plus/network_info_plus_platform_interface/pubspec.yaml b/packages/network_info_plus/network_info_plus_platform_interface/pubspec.yaml index 9f5fe60a5d..69eefd51b2 100644 --- a/packages/network_info_plus/network_info_plus_platform_interface/pubspec.yaml +++ b/packages/network_info_plus/network_info_plus_platform_interface/pubspec.yaml @@ -11,9 +11,9 @@ dependencies: plugin_platform_interface: ^2.0.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/network_info_plus/network_info_plus_windows/pubspec.yaml b/packages/network_info_plus/network_info_plus_windows/pubspec.yaml index d294795e90..23b68d52af 100644 --- a/packages/network_info_plus/network_info_plus_windows/pubspec.yaml +++ b/packages/network_info_plus/network_info_plus_windows/pubspec.yaml @@ -13,9 +13,9 @@ dependencies: sdk: flutter network_info_plus_platform_interface: ^1.0.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 flutter: plugin: diff --git a/packages/package_info_plus/package_info_plus/example/pubspec.yaml b/packages/package_info_plus/package_info_plus/example/pubspec.yaml index ac82744c66..d969b4648e 100644 --- a/packages/package_info_plus/package_info_plus/example/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus/example/pubspec.yaml @@ -11,15 +11,15 @@ dependencies: sdk: flutter package_info_plus: path: ../ + integration_test: + sdk: flutter universal_io: ^1.0.1 dev_dependencies: flutter_driver: sdk: flutter - integration_test: - sdk: flutter test: any - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 flutter: uses-material-design: true diff --git a/packages/package_info_plus/package_info_plus/pubspec.yaml b/packages/package_info_plus/package_info_plus/pubspec.yaml index 89a676984a..08bd4e88e9 100644 --- a/packages/package_info_plus/package_info_plus/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus/pubspec.yaml @@ -34,7 +34,7 @@ dev_dependencies: flutter_test: sdk: flutter test: ^1.16.4 - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/package_info_plus/package_info_plus_linux/pubspec.yaml b/packages/package_info_plus/package_info_plus_linux/pubspec.yaml index edd450e8b4..6f0342e3cf 100644 --- a/packages/package_info_plus/package_info_plus_linux/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus_linux/pubspec.yaml @@ -15,6 +15,6 @@ dependencies: path: ^1.8.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 diff --git a/packages/package_info_plus/package_info_plus_platform_interface/pubspec.yaml b/packages/package_info_plus/package_info_plus_platform_interface/pubspec.yaml index 4eb34baead..c9459d6f81 100644 --- a/packages/package_info_plus/package_info_plus_platform_interface/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus_platform_interface/pubspec.yaml @@ -11,10 +11,10 @@ dependencies: plugin_platform_interface: ^2.0.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter mockito: ^5.0.0 - pedantic: ^1.10.0 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/package_info_plus/package_info_plus_web/pubspec.yaml b/packages/package_info_plus/package_info_plus_web/pubspec.yaml index c036615d4e..7d1e412583 100644 --- a/packages/package_info_plus/package_info_plus_web/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus_web/pubspec.yaml @@ -25,7 +25,7 @@ dev_dependencies: sdk: flutter mockito: ^5.0.7 build_runner: ^2.0.3 - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/package_info_plus/package_info_plus_windows/pubspec.yaml b/packages/package_info_plus/package_info_plus_windows/pubspec.yaml index 18c4125309..292f4db6bf 100644 --- a/packages/package_info_plus/package_info_plus_windows/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus_windows/pubspec.yaml @@ -16,6 +16,6 @@ dependencies: win32: ^2.0.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 diff --git a/packages/sensors_plus/sensors_plus/example/pubspec.yaml b/packages/sensors_plus/sensors_plus/example/pubspec.yaml index bf75bf6fe1..1ae347a6f2 100644 --- a/packages/sensors_plus/sensors_plus/example/pubspec.yaml +++ b/packages/sensors_plus/sensors_plus/example/pubspec.yaml @@ -10,9 +10,9 @@ dependencies: dev_dependencies: flutter_driver: sdk: flutter + flutter_lints: ^1.0.4 integration_test: sdk: flutter - pedantic: ^1.10.0 flutter: uses-material-design: true diff --git a/packages/sensors_plus/sensors_plus/pubspec.yaml b/packages/sensors_plus/sensors_plus/pubspec.yaml index 73f995086d..a06be75133 100644 --- a/packages/sensors_plus/sensors_plus/pubspec.yaml +++ b/packages/sensors_plus/sensors_plus/pubspec.yaml @@ -2,7 +2,7 @@ name: sensors_plus description: > Flutter plugin for accessing accelerometer, gyroscope, and magnetometer sensors. -version: 1.2.0 +version: 1.1.0 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ @@ -27,7 +27,7 @@ dev_dependencies: test: ^1.16.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/sensors_plus/sensors_plus_platform_interface/pubspec.yaml b/packages/sensors_plus/sensors_plus_platform_interface/pubspec.yaml index c6790a0920..e692dbca65 100644 --- a/packages/sensors_plus/sensors_plus_platform_interface/pubspec.yaml +++ b/packages/sensors_plus/sensors_plus_platform_interface/pubspec.yaml @@ -11,9 +11,9 @@ dependencies: plugin_platform_interface: ^2.0.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 test: ^1.16.4 environment: diff --git a/packages/sensors_plus/sensors_plus_web/pubspec.yaml b/packages/sensors_plus/sensors_plus_web/pubspec.yaml index f735b4f3d6..68aa62cc6b 100644 --- a/packages/sensors_plus/sensors_plus_web/pubspec.yaml +++ b/packages/sensors_plus/sensors_plus_web/pubspec.yaml @@ -26,4 +26,4 @@ dev_dependencies: test: ^1.16.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 + flutter_lints: ^1.0.4 diff --git a/packages/share_plus/share_plus/example/pubspec.yaml b/packages/share_plus/share_plus/example/pubspec.yaml index 83ecb49c21..138917305f 100644 --- a/packages/share_plus/share_plus/example/pubspec.yaml +++ b/packages/share_plus/share_plus/example/pubspec.yaml @@ -11,9 +11,9 @@ dependencies: dev_dependencies: flutter_driver: sdk: flutter + flutter_lints: ^1.0.4 integration_test: sdk: flutter - pedantic: ^1.10.0 flutter: uses-material-design: true diff --git a/packages/share_plus/share_plus/pubspec.yaml b/packages/share_plus/share_plus/pubspec.yaml index ac7d4937ae..2377ff9667 100644 --- a/packages/share_plus/share_plus/pubspec.yaml +++ b/packages/share_plus/share_plus/pubspec.yaml @@ -1,6 +1,6 @@ name: share_plus description: Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS. -version: 2.2.0 +version: 2.1.4 homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ @@ -33,9 +33,9 @@ dependencies: share_plus_web: ^2.0.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/share_plus/share_plus_linux/pubspec.yaml b/packages/share_plus/share_plus_linux/pubspec.yaml index f97207f741..8be5eee84b 100644 --- a/packages/share_plus/share_plus_linux/pubspec.yaml +++ b/packages/share_plus/share_plus_linux/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: url_launcher: ^6.0.1 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 url_launcher_platform_interface: ^2.0.2 diff --git a/packages/share_plus/share_plus_macos/pubspec.yaml b/packages/share_plus/share_plus_macos/pubspec.yaml index ef94b81786..e3ae2224b3 100644 --- a/packages/share_plus/share_plus_macos/pubspec.yaml +++ b/packages/share_plus/share_plus_macos/pubspec.yaml @@ -14,9 +14,9 @@ dependencies: sdk: flutter dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 flutter: plugin: diff --git a/packages/share_plus/share_plus_platform_interface/pubspec.yaml b/packages/share_plus/share_plus_platform_interface/pubspec.yaml index a3b122530a..2a439a7b11 100644 --- a/packages/share_plus/share_plus_platform_interface/pubspec.yaml +++ b/packages/share_plus/share_plus_platform_interface/pubspec.yaml @@ -12,10 +12,10 @@ dependencies: plugin_platform_interface: ^2.0.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter mockito: ^5.0.0 - pedantic: ^1.10.0 test: ^1.16.4 environment: diff --git a/packages/share_plus/share_plus_web/integration_test/pubspec.yaml b/packages/share_plus/share_plus_web/integration_test/pubspec.yaml index b1193cfab3..3ed0144352 100644 --- a/packages/share_plus/share_plus_web/integration_test/pubspec.yaml +++ b/packages/share_plus/share_plus_web/integration_test/pubspec.yaml @@ -13,12 +13,12 @@ dev_dependencies: sdk: flutter flutter_test: sdk: flutter - integration_test: - sdk: flutter share_plus_web: path: ../ http: ^0.12.2 mockito: ^5.0.0 + integration_test: + sdk: flutter dependency_overrides: args: ^2.0.0 diff --git a/packages/share_plus/share_plus_web/pubspec.yaml b/packages/share_plus/share_plus_web/pubspec.yaml index dbf932c138..2584fb3eb6 100644 --- a/packages/share_plus/share_plus_web/pubspec.yaml +++ b/packages/share_plus/share_plus_web/pubspec.yaml @@ -21,9 +21,9 @@ dependencies: meta: ^1.3.0 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/packages/share_plus/share_plus_windows/pubspec.yaml b/packages/share_plus/share_plus_windows/pubspec.yaml index b0f74d9736..e3a8a10a9f 100644 --- a/packages/share_plus/share_plus_windows/pubspec.yaml +++ b/packages/share_plus/share_plus_windows/pubspec.yaml @@ -16,7 +16,7 @@ dependencies: url_launcher: ^6.0.1 dev_dependencies: + flutter_lints: ^1.0.4 flutter_test: sdk: flutter - pedantic: ^1.10.0 url_launcher_platform_interface: ^2.0.2