Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(device_info_plus)!: bump MACOSX_DEPLOYMENT_TARGET from 10.11 to 10.14 #2589

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore(device_info_plus): bump MACOSX_DEPLOYMENT_TARGET from 10.11 to …
…10.14
luisredondo committed Feb 9, 2024
commit 99c85ea8033751137b9692397039230cd09bc409
Original file line number Diff line number Diff line change
@@ -18,5 +18,5 @@ https://github.com/flutter/flutter/issues/46618
s.dependency 'FlutterMacOS'

s.platform = :osx
s.osx.deployment_target = '10.11'
s.osx.deployment_target = '10.14'
end

Unchanged files with check annotations Beta

/// Example app for Espresso plugin.
class AlarmManagerExampleApp extends StatelessWidget {
const AlarmManagerExampleApp({Key? key}) : super(key: key);

Check notice on line 44 in packages/android_alarm_manager_plus/example/lib/main.dart

GitHub Actions / Flutter Analyze

Convert 'key' to a super parameter.

See https://dart.dev/lints/use_super_parameters to learn more about this problem.
// This widget is the root of your application.
@override
}
class _AlarmHomePage extends StatefulWidget {
const _AlarmHomePage({Key? key}) : super(key: key);

Check notice on line 61 in packages/android_alarm_manager_plus/example/lib/main.dart

GitHub Actions / Flutter Analyze

Convert 'key' to a super parameter.

See https://dart.dev/lints/use_super_parameters to learn more about this problem.
@override
_AlarmHomePageState createState() => _AlarmHomePageState();
/// A sample app for launching intents.
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);

Check notice on line 16 in packages/android_intent_plus/example/lib/main.dart

GitHub Actions / Flutter Analyze

Convert 'key' to a super parameter.

See https://dart.dev/lints/use_super_parameters to learn more about this problem.
// This widget is the root of your application.
@override
/// Holds the different intent widgets.
class MyHomePage extends StatelessWidget {
const MyHomePage({Key? key}) : super(key: key);

Check notice on line 38 in packages/android_intent_plus/example/lib/main.dart

GitHub Actions / Flutter Analyze

Convert 'key' to a super parameter.

See https://dart.dev/lints/use_super_parameters to learn more about this problem.
void _createAlarm() {
const intent = AndroidIntent(
/// Special flags that can be set on an intent to control how it is handled.
///
/// See
/// https://developer.android.com/reference/android/content/Intent.html#setFlags(int)
/// for the official documentation on Intent flags. The constants here mirror
/// the existing [android.content.Intent] ones.

Check notice on line 6 in packages/android_intent_plus/lib/flag.dart

GitHub Actions / Flutter Analyze

Dangling library doc comment.

Add a 'library' directive after the library comment. See https://dart.dev/lints/dangling_library_doc_comments to learn more about this problem.
// ignore_for_file: constant_identifier_names
class Flag {
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);

Check notice on line 24 in packages/device_info_plus/device_info_plus/example/lib/main.dart

GitHub Actions / Flutter Analyze

Convert 'key' to a super parameter.

See https://dart.dev/lints/use_super_parameters to learn more about this problem.
@override
State<MyApp> createState() => _MyAppState();
Map<String, dynamic> _readWebBrowserInfo(WebBrowserInfo data) {
return <String, dynamic>{
'browserName': describeEnum(data.browserName),

Check notice on line 151 in packages/device_info_plus/device_info_plus/example/lib/main.dart

GitHub Actions / Flutter Analyze

'describeEnum' is deprecated and shouldn't be used. Use the `name` getter on enums instead. This feature was deprecated after v3.10.0-1.1.pre.

Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'appCodeName': data.appCodeName,
'appName': data.appName,
'appVersion': data.appVersion,
/// The platform interface handles the method channel calls. This file exists to silence errors on pub.

Check notice on line 1 in packages/device_info_plus/device_info_plus/lib/src/device_info_plus_macos.dart

GitHub Actions / Flutter Analyze

Dangling library doc comment.

Add a 'library' directive after the library comment. See https://dart.dev/lints/dangling_library_doc_comments to learn more about this problem.
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);

Check notice on line 30 in packages/network_info_plus/network_info_plus/example/lib/main.dart

GitHub Actions / Flutter Analyze

Convert 'key' to a super parameter.

See https://dart.dev/lints/use_super_parameters to learn more about this problem.
// This widget is the root of your application.
@override
}
class MyHomePage extends StatefulWidget {
const MyHomePage({Key? key, this.title}) : super(key: key);

Check notice on line 47 in packages/network_info_plus/network_info_plus/example/lib/main.dart

GitHub Actions / Flutter Analyze

Convert 'key' to a super parameter.

See https://dart.dev/lints/use_super_parameters to learn more about this problem.
final String? title;