diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml
index 5e229eec6..fce97ad94 100644
--- a/.github/workflows/build-android.yml
+++ b/.github/workflows/build-android.yml
@@ -19,8 +19,8 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'flutter/samples'
steps:
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- - uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
+ - uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6
with:
distribution: 'zulu'
java-version: '17'
diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml
index 79092fd21..a521c8661 100644
--- a/.github/workflows/build-ios.yml
+++ b/.github/workflows/build-ios.yml
@@ -22,8 +22,8 @@ jobs:
strategy:
fail-fast: false
steps:
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- - uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
+ - uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6
with:
distribution: 'zulu'
java-version: '17'
diff --git a/.github/workflows/gemini-cli.yml b/.github/workflows/gemini-cli.yml
index 8f8b1c23a..d3c19d93e 100644
--- a/.github/workflows/gemini-cli.yml
+++ b/.github/workflows/gemini-cli.yml
@@ -144,7 +144,7 @@ jobs:
- name: 'Checkout PR branch'
if: |-
${{ steps.get_context.outputs.is_pr == 'true' }}
- uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # ratchet:actions/checkout@v4
+ uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' # ratchet:actions/checkout@v4
with:
token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
repository: '${{ github.repository }}'
@@ -154,7 +154,7 @@ jobs:
- name: 'Checkout main branch'
if: |-
${{ steps.get_context.outputs.is_pr == 'false' }}
- uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # ratchet:actions/checkout@v4
+ uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' # ratchet:actions/checkout@v4
with:
token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
repository: '${{ github.repository }}'
diff --git a/.github/workflows/gemini-issue-automated-triage.yml b/.github/workflows/gemini-issue-automated-triage.yml
index c122f78b5..9d39f0d6d 100644
--- a/.github/workflows/gemini-issue-automated-triage.yml
+++ b/.github/workflows/gemini-issue-automated-triage.yml
@@ -44,7 +44,7 @@ jobs:
steps:
- name: 'Checkout repository'
- uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # ratchet:actions/checkout@v4
+ uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' # ratchet:actions/checkout@v4
- name: 'Generate GitHub App Token'
id: 'generate_token'
diff --git a/.github/workflows/gemini-issue-scheduled-triage.yml b/.github/workflows/gemini-issue-scheduled-triage.yml
index bda1b89e6..bd9c0dafc 100644
--- a/.github/workflows/gemini-issue-scheduled-triage.yml
+++ b/.github/workflows/gemini-issue-scheduled-triage.yml
@@ -26,7 +26,7 @@ jobs:
steps:
- name: 'Checkout repository'
- uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # ratchet:actions/checkout@v4
+ uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' # ratchet:actions/checkout@v4
- name: 'Generate GitHub App Token'
id: 'generate_token'
diff --git a/.github/workflows/gemini-pr-review.yml b/.github/workflows/gemini-pr-review.yml
index d8412354c..d6a8b714c 100644
--- a/.github/workflows/gemini-pr-review.yml
+++ b/.github/workflows/gemini-pr-review.yml
@@ -66,7 +66,7 @@ jobs:
steps:
- name: 'Checkout PR code'
- uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # ratchet:actions/checkout@v4
+ uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' # ratchet:actions/checkout@v4
- name: 'Generate GitHub App Token'
id: 'generate_token'
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5a52f6799..019f557a6 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -24,11 +24,11 @@ jobs:
strategy:
fail-fast: false
matrix:
- flutter_version: [stable]
+ flutter_version: [stable, beta]
os: [ubuntu-latest, macos-latest]
steps:
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- - uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
+ - uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6
with:
distribution: 'zulu'
java-version: '17'
diff --git a/add_to_app/android_view/flutter_module_using_plugin_android_view/analysis_options.yaml b/add_to_app/android_view/flutter_module_using_plugin_android_view/analysis_options.yaml
index 13d6fe105..e2badd73e 100644
--- a/add_to_app/android_view/flutter_module_using_plugin_android_view/analysis_options.yaml
+++ b/add_to_app/android_view/flutter_module_using_plugin_android_view/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../../../analysis_options.yaml
diff --git a/add_to_app/android_view/flutter_module_using_plugin_content_sizing_android_view/analysis_options.yaml b/add_to_app/android_view/flutter_module_using_plugin_content_sizing_android_view/analysis_options.yaml
index 13d6fe105..e2badd73e 100644
--- a/add_to_app/android_view/flutter_module_using_plugin_content_sizing_android_view/analysis_options.yaml
+++ b/add_to_app/android_view/flutter_module_using_plugin_content_sizing_android_view/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../../../analysis_options.yaml
diff --git a/add_to_app/books/flutter_module_books/analysis_options.yaml b/add_to_app/books/flutter_module_books/analysis_options.yaml
index 13d6fe105..e2badd73e 100644
--- a/add_to_app/books/flutter_module_books/analysis_options.yaml
+++ b/add_to_app/books/flutter_module_books/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../../../analysis_options.yaml
diff --git a/add_to_app/books/flutter_module_books/pubspec.yaml b/add_to_app/books/flutter_module_books/pubspec.yaml
index 01d44f08a..840b54499 100644
--- a/add_to_app/books/flutter_module_books/pubspec.yaml
+++ b/add_to_app/books/flutter_module_books/pubspec.yaml
@@ -15,7 +15,7 @@ dependencies:
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
- pigeon: ">=11.0.0 <27.0.0"
+ pigeon: ">=11.0.0 <30.0.0"
flutter_test:
sdk: flutter
diff --git a/add_to_app/books/ios_books/Podfile b/add_to_app/books/ios_books/Podfile
index b8246b032..d5eebc3a2 100644
--- a/add_to_app/books/ios_books/Podfile
+++ b/add_to_app/books/ios_books/Podfile
@@ -1,5 +1,4 @@
-# Uncomment the next line to define a global platform for your project
-# platform :ios, '9.0'
+platform :ios, '15.0'
flutter_application_path = '../flutter_module_books/'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
diff --git a/add_to_app/fullscreen/flutter_module_fullscreen/analysis_options.yaml b/add_to_app/fullscreen/flutter_module_fullscreen/analysis_options.yaml
index 13d6fe105..e2badd73e 100644
--- a/add_to_app/fullscreen/flutter_module_fullscreen/analysis_options.yaml
+++ b/add_to_app/fullscreen/flutter_module_fullscreen/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../../../analysis_options.yaml
diff --git a/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/AppDelegate.swift b/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/AppDelegate.swift
index a4ef063b3..66cb1d3be 100644
--- a/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/AppDelegate.swift
+++ b/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/AppDelegate.swift
@@ -2,20 +2,34 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import UIKit
import Flutter
+import UIKit
-@UIApplicationMain
+@main
class AppDelegate: UIResponder, UIApplicationDelegate {
- var window: UIWindow?
+ var flutterEngine: FlutterEngine?
- var flutterEngine : FlutterEngine?
+ func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
+ ) -> Bool {
+ // Instantiate Flutter engine
+ self.flutterEngine = FlutterEngine(name: "io.flutter", project: nil)
+ self.flutterEngine?.run(withEntrypoint: nil)
- func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
- // Instantiate Flutter engine
- self.flutterEngine = FlutterEngine(name: "io.flutter", project: nil)
- self.flutterEngine?.run(withEntrypoint: nil)
+ return true
+ }
- return true
- }
+ func application(
+ _ application: UIApplication,
+ configurationForConnecting connectingSceneSession: UISceneSession,
+ options: UIScene.ConnectionOptions
+ ) -> UISceneConfiguration {
+ let configuration = UISceneConfiguration(
+ name: "Default Configuration",
+ sessionRole: connectingSceneSession.role
+ )
+ configuration.delegateClass = FlutterSceneDelegate.self
+ return configuration
+ }
}
diff --git a/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/Info-Debug.plist b/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/Info-Debug.plist
index 72b874acd..c09fef963 100644
--- a/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/Info-Debug.plist
+++ b/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/Info-Debug.plist
@@ -20,6 +20,27 @@
1
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ Default Configuration
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/Info-Release.plist b/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/Info-Release.plist
index 16be3b681..cf27efee8 100644
--- a/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/Info-Release.plist
+++ b/add_to_app/fullscreen/ios_fullscreen/IOSFullScreen/Info-Release.plist
@@ -20,6 +20,27 @@
1
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ Default Configuration
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/add_to_app/fullscreen/ios_fullscreen/Podfile b/add_to_app/fullscreen/ios_fullscreen/Podfile
index 1daf6b963..db8e79871 100644
--- a/add_to_app/fullscreen/ios_fullscreen/Podfile
+++ b/add_to_app/fullscreen/ios_fullscreen/Podfile
@@ -1,5 +1,4 @@
-# Uncomment the next line to define a global platform for your project
-# platform :ios, '9.0'
+platform :ios, '15.0'
flutter_application_path = '../flutter_module_fullscreen'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
diff --git a/add_to_app/ios_content_resizing/flutter_module/analysis_options.yaml b/add_to_app/ios_content_resizing/flutter_module/analysis_options.yaml
index a5744c1cf..e69de29bb 100644
--- a/add_to_app/ios_content_resizing/flutter_module/analysis_options.yaml
+++ b/add_to_app/ios_content_resizing/flutter_module/analysis_options.yaml
@@ -1,4 +0,0 @@
-include: package:flutter_lints/flutter.yaml
-
-# Additional information about this file can be found at
-# https://dart.dev/guides/language/analysis-options
diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/Podfile b/add_to_app/ios_content_resizing/ios_content_resizing/Podfile
index a17a10562..c09db125d 100644
--- a/add_to_app/ios_content_resizing/ios_content_resizing/Podfile
+++ b/add_to_app/ios_content_resizing/ios_content_resizing/Podfile
@@ -1,5 +1,4 @@
-# Uncomment the next line to define a global platform for your project
-# platform :ios, '15.0'
+platform :ios, '15.0'
flutter_application_path = '../flutter_module'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/analysis_options.yaml b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/analysis_options.yaml
index 13d6fe105..e69de29bb 100644
--- a/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/analysis_options.yaml
+++ b/add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/analysis_options.yaml
@@ -1 +0,0 @@
-include: package:analysis_defaults/flutter.yaml
diff --git a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/SceneDelegate.swift b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/SceneDelegate.swift
index a968d2935..17b7789af 100644
--- a/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/SceneDelegate.swift
+++ b/add_to_app/ios_content_resizing/ios_content_resizing/ios_content_resizing/SceneDelegate.swift
@@ -5,48 +5,8 @@
// Created by Louise Hsu on 12/3/25.
//
+import Flutter
import UIKit
-class SceneDelegate: UIResponder, UIWindowSceneDelegate {
-
- var window: UIWindow?
-
-
- func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
- // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
- // If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
- // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
- guard let _ = (scene as? UIWindowScene) else { return }
- }
-
- func sceneDidDisconnect(_ scene: UIScene) {
- // Called as the scene is being released by the system.
- // This occurs shortly after the scene enters the background, or when its session is discarded.
- // Release any resources associated with this scene that can be re-created the next time the scene connects.
- // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
- }
-
- func sceneDidBecomeActive(_ scene: UIScene) {
- // Called when the scene has moved from an inactive state to an active state.
- // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
- }
-
- func sceneWillResignActive(_ scene: UIScene) {
- // Called when the scene will move from an active state to an inactive state.
- // This may occur due to temporary interruptions (ex. an incoming phone call).
- }
-
- func sceneWillEnterForeground(_ scene: UIScene) {
- // Called as the scene transitions from the background to the foreground.
- // Use this method to undo the changes made on entering the background.
- }
-
- func sceneDidEnterBackground(_ scene: UIScene) {
- // Called as the scene transitions from the foreground to the background.
- // Use this method to save data, release shared resources, and store enough scene-specific state information
- // to restore the scene back to its current state.
- }
-
-
+class SceneDelegate: FlutterSceneDelegate {
}
-
diff --git a/add_to_app/multiple_flutters/multiple_flutters_ios/MultipleFluttersIos/SceneDelegate.swift b/add_to_app/multiple_flutters/multiple_flutters_ios/MultipleFluttersIos/SceneDelegate.swift
index ae755e8c3..1c692f59e 100644
--- a/add_to_app/multiple_flutters/multiple_flutters_ios/MultipleFluttersIos/SceneDelegate.swift
+++ b/add_to_app/multiple_flutters/multiple_flutters_ios/MultipleFluttersIos/SceneDelegate.swift
@@ -2,31 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+import Flutter
import UIKit
/// The UIWindowSceneDelegate for the app.
-class SceneDelegate: UIResponder, UIWindowSceneDelegate {
- var window: UIWindow?
-
- func scene(
- _ scene: UIScene, willConnectTo session: UISceneSession,
- options connectionOptions: UIScene.ConnectionOptions
- ) {
- guard let _ = (scene as? UIWindowScene) else { return }
- }
-
- func sceneDidDisconnect(_ scene: UIScene) {
- }
-
- func sceneDidBecomeActive(_ scene: UIScene) {
- }
-
- func sceneWillResignActive(_ scene: UIScene) {
- }
-
- func sceneWillEnterForeground(_ scene: UIScene) {
- }
-
- func sceneDidEnterBackground(_ scene: UIScene) {
- }
+class SceneDelegate: FlutterSceneDelegate {
}
diff --git a/add_to_app/multiple_flutters/multiple_flutters_ios/MultipleFluttersIos/SingleFlutterViewController.swift b/add_to_app/multiple_flutters/multiple_flutters_ios/MultipleFluttersIos/SingleFlutterViewController.swift
index 892c87c7a..a26db6f9a 100644
--- a/add_to_app/multiple_flutters/multiple_flutters_ios/MultipleFluttersIos/SingleFlutterViewController.swift
+++ b/add_to_app/multiple_flutters/multiple_flutters_ios/MultipleFluttersIos/SingleFlutterViewController.swift
@@ -39,7 +39,7 @@ class SingleFlutterViewController: FlutterViewController, DataModelObserver {
override func viewDidLoad() {
super.viewDidLoad()
channel = FlutterMethodChannel(
- name: "multiple-flutters", binaryMessenger: self.engine!.binaryMessenger)
+ name: "multiple-flutters", binaryMessenger: self.engine.binaryMessenger)
channel!.invokeMethod("setCount", arguments: DataModel.shared.count)
let navController = self.navigationController!
channel!.setMethodCallHandler { (call: FlutterMethodCall, result: @escaping FlutterResult) in
diff --git a/add_to_app/multiple_flutters/multiple_flutters_ios/Podfile b/add_to_app/multiple_flutters/multiple_flutters_ios/Podfile
index 64e1388e6..bc486e734 100644
--- a/add_to_app/multiple_flutters/multiple_flutters_ios/Podfile
+++ b/add_to_app/multiple_flutters/multiple_flutters_ios/Podfile
@@ -1,3 +1,5 @@
+platform :ios, '15.0'
+
# Copyright 2021 The Flutter team. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
diff --git a/add_to_app/multiple_flutters/multiple_flutters_module/analysis_options.yaml b/add_to_app/multiple_flutters/multiple_flutters_module/analysis_options.yaml
index 1b30f7553..e2badd73e 100644
--- a/add_to_app/multiple_flutters/multiple_flutters_module/analysis_options.yaml
+++ b/add_to_app/multiple_flutters/multiple_flutters_module/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
\ No newline at end of file
+include: ../../../analysis_options.yaml
diff --git a/add_to_app/plugin/flutter_module_using_plugin/analysis_options.yaml b/add_to_app/plugin/flutter_module_using_plugin/analysis_options.yaml
index 13d6fe105..e2badd73e 100644
--- a/add_to_app/plugin/flutter_module_using_plugin/analysis_options.yaml
+++ b/add_to_app/plugin/flutter_module_using_plugin/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../../../analysis_options.yaml
diff --git a/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/AppDelegate.swift b/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/AppDelegate.swift
index bb5ca8776..061862e88 100644
--- a/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/AppDelegate.swift
+++ b/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/AppDelegate.swift
@@ -2,22 +2,36 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import UIKit
import Flutter
import FlutterPluginRegistrant
+import UIKit
-@UIApplicationMain
+@main
class AppDelegate: UIResponder, UIApplicationDelegate {
- var window: UIWindow?
-
- var flutterEngine : FlutterEngine?
-
- func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
- // Instantiate Flutter engine
- self.flutterEngine = FlutterEngine(name: "io.flutter", project: nil)
- self.flutterEngine?.run(withEntrypoint: nil)
- GeneratedPluginRegistrant.register(with: self.flutterEngine!)
+ var flutterEngine: FlutterEngine?
+
+ func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
+ ) -> Bool {
+ // Instantiate Flutter engine
+ self.flutterEngine = FlutterEngine(name: "io.flutter", project: nil)
+ self.flutterEngine?.run(withEntrypoint: nil)
+ GeneratedPluginRegistrant.register(with: self.flutterEngine!)
+
+ return true
+ }
- return true
- }
+ func application(
+ _ application: UIApplication,
+ configurationForConnecting connectingSceneSession: UISceneSession,
+ options: UIScene.ConnectionOptions
+ ) -> UISceneConfiguration {
+ let configuration = UISceneConfiguration(
+ name: "Default Configuration",
+ sessionRole: connectingSceneSession.role
+ )
+ configuration.delegateClass = FlutterSceneDelegate.self
+ return configuration
+ }
}
diff --git a/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/Info-Debug.plist b/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/Info-Debug.plist
index 72b874acd..c09fef963 100644
--- a/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/Info-Debug.plist
+++ b/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/Info-Debug.plist
@@ -20,6 +20,27 @@
1
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ Default Configuration
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/Info-Release.plist b/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/Info-Release.plist
index 16be3b681..cf27efee8 100644
--- a/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/Info-Release.plist
+++ b/add_to_app/plugin/ios_using_plugin/IOSUsingPlugin/Info-Release.plist
@@ -20,6 +20,27 @@
1
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ Default Configuration
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/add_to_app/plugin/ios_using_plugin/Podfile b/add_to_app/plugin/ios_using_plugin/Podfile
index 726737d1b..faf763aae 100644
--- a/add_to_app/plugin/ios_using_plugin/Podfile
+++ b/add_to_app/plugin/ios_using_plugin/Podfile
@@ -1,5 +1,4 @@
-# Uncomment the next line to define a global platform for your project
-# platform :ios, '9.0'
+platform :ios, '15.0'
flutter_application_path = '../flutter_module_using_plugin'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
diff --git a/add_to_app/prebuilt_module/flutter_module/analysis_options.yaml b/add_to_app/prebuilt_module/flutter_module/analysis_options.yaml
index 13d6fe105..e2badd73e 100644
--- a/add_to_app/prebuilt_module/flutter_module/analysis_options.yaml
+++ b/add_to_app/prebuilt_module/flutter_module/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../../../analysis_options.yaml
diff --git a/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/AppDelegate.swift b/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/AppDelegate.swift
index a4ef063b3..66cb1d3be 100644
--- a/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/AppDelegate.swift
+++ b/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/AppDelegate.swift
@@ -2,20 +2,34 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import UIKit
import Flutter
+import UIKit
-@UIApplicationMain
+@main
class AppDelegate: UIResponder, UIApplicationDelegate {
- var window: UIWindow?
+ var flutterEngine: FlutterEngine?
- var flutterEngine : FlutterEngine?
+ func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
+ ) -> Bool {
+ // Instantiate Flutter engine
+ self.flutterEngine = FlutterEngine(name: "io.flutter", project: nil)
+ self.flutterEngine?.run(withEntrypoint: nil)
- func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
- // Instantiate Flutter engine
- self.flutterEngine = FlutterEngine(name: "io.flutter", project: nil)
- self.flutterEngine?.run(withEntrypoint: nil)
+ return true
+ }
- return true
- }
+ func application(
+ _ application: UIApplication,
+ configurationForConnecting connectingSceneSession: UISceneSession,
+ options: UIScene.ConnectionOptions
+ ) -> UISceneConfiguration {
+ let configuration = UISceneConfiguration(
+ name: "Default Configuration",
+ sessionRole: connectingSceneSession.role
+ )
+ configuration.delegateClass = FlutterSceneDelegate.self
+ return configuration
+ }
}
diff --git a/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/Info-Debug.plist b/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/Info-Debug.plist
index 72b874acd..c09fef963 100644
--- a/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/Info-Debug.plist
+++ b/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/Info-Debug.plist
@@ -20,6 +20,27 @@
1
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ Default Configuration
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/Info-Release.plist b/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/Info-Release.plist
index 16be3b681..cf27efee8 100644
--- a/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/Info-Release.plist
+++ b/add_to_app/prebuilt_module/ios_using_prebuilt_module/IOSUsingPrebuiltModule/Info-Release.plist
@@ -20,6 +20,27 @@
1
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ Default Configuration
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/analysis_options.yaml b/analysis_options.yaml
new file mode 100644
index 000000000..2273994a1
--- /dev/null
+++ b/analysis_options.yaml
@@ -0,0 +1,11 @@
+include: package:analysis_defaults/flutter.yaml
+
+analyzer:
+ exclude:
+ - build/**
+ - android/**
+ - ios/**
+ - web/**
+ - windows/**
+ - macos/**
+ - linux/**
diff --git a/android_splash_screen/analysis_options.yaml b/android_splash_screen/analysis_options.yaml
index 13d6fe105..5e2133eb6 100644
--- a/android_splash_screen/analysis_options.yaml
+++ b/android_splash_screen/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../analysis_options.yaml
diff --git a/animation_gallery/ios/Flutter/ephemeral/flutter_lldb_helper.py b/animation_gallery/ios/Flutter/ephemeral/flutter_lldb_helper.py
new file mode 100644
index 000000000..a88caf99d
--- /dev/null
+++ b/animation_gallery/ios/Flutter/ephemeral/flutter_lldb_helper.py
@@ -0,0 +1,32 @@
+#
+# Generated file, do not edit.
+#
+
+import lldb
+
+def handle_new_rx_page(frame: lldb.SBFrame, bp_loc, extra_args, intern_dict):
+ """Intercept NOTIFY_DEBUGGER_ABOUT_RX_PAGES and touch the pages."""
+ base = frame.register["x0"].GetValueAsAddress()
+ page_len = frame.register["x1"].GetValueAsUnsigned()
+
+ # Note: NOTIFY_DEBUGGER_ABOUT_RX_PAGES will check contents of the
+ # first page to see if handled it correctly. This makes diagnosing
+ # misconfiguration (e.g. missing breakpoint) easier.
+ data = bytearray(page_len)
+ data[0:8] = b'IHELPED!'
+
+ error = lldb.SBError()
+ frame.GetThread().GetProcess().WriteMemory(base, data, error)
+ if not error.Success():
+ print(f'Failed to write into {base}[+{page_len}]', error)
+ return
+
+def __lldb_init_module(debugger: lldb.SBDebugger, _):
+ target = debugger.GetDummyTarget()
+ # Caveat: must use BreakpointCreateByRegEx here and not
+ # BreakpointCreateByName. For some reasons callback function does not
+ # get carried over from dummy target for the later.
+ bp = target.BreakpointCreateByRegex("^NOTIFY_DEBUGGER_ABOUT_RX_PAGES$")
+ bp.SetScriptCallbackFunction('{}.handle_new_rx_page'.format(__name__))
+ bp.SetAutoContinue(True)
+ print("-- LLDB integration loaded --")
diff --git a/animation_gallery/ios/Flutter/ephemeral/flutter_lldbinit b/animation_gallery/ios/Flutter/ephemeral/flutter_lldbinit
new file mode 100644
index 000000000..e3ba6fbed
--- /dev/null
+++ b/animation_gallery/ios/Flutter/ephemeral/flutter_lldbinit
@@ -0,0 +1,5 @@
+#
+# Generated file, do not edit.
+#
+
+command script import --relative-to-command-file flutter_lldb_helper.py
diff --git a/animation_gallery/ios/Flutter/ephemeral/flutter_native_integration.env b/animation_gallery/ios/Flutter/ephemeral/flutter_native_integration.env
new file mode 100644
index 000000000..b5e017d4a
--- /dev/null
+++ b/animation_gallery/ios/Flutter/ephemeral/flutter_native_integration.env
@@ -0,0 +1,12 @@
+FLUTTER_ROOT=/Users/ewindmill/development/flutter
+FLUTTER_APPLICATION_PATH=/Users/ewindmill/development/samples/animation_gallery
+FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=/Users/ewindmill/development/samples/animation_gallery/ios/Flutter/ephemeral/Packages/.packages/FlutterFramework
+COCOAPODS_PARALLEL_CODE_SIGN=true
+FLUTTER_TARGET=lib/main.dart
+FLUTTER_BUILD_DIR=build
+FLUTTER_BUILD_NAME=1.0.0
+FLUTTER_BUILD_NUMBER=1
+DART_OBFUSCATION=false
+TRACK_WIDGET_CREATION=true
+TREE_SHAKE_ICONS=false
+PACKAGE_CONFIG=.dart_tool/package_config.json
diff --git a/animation_gallery/macos/Flutter/ephemeral/Flutter-Generated.xcconfig b/animation_gallery/macos/Flutter/ephemeral/Flutter-Generated.xcconfig
new file mode 100644
index 000000000..9379bfeca
--- /dev/null
+++ b/animation_gallery/macos/Flutter/ephemeral/Flutter-Generated.xcconfig
@@ -0,0 +1,12 @@
+// This is a generated file; do not edit or check into version control.
+FLUTTER_ROOT=/Users/ewindmill/development/flutter
+FLUTTER_APPLICATION_PATH=/Users/ewindmill/development/samples/animation_gallery
+FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=/Users/ewindmill/development/samples/animation_gallery/macos/Flutter/ephemeral/Packages/.packages/FlutterFramework
+COCOAPODS_PARALLEL_CODE_SIGN=true
+FLUTTER_BUILD_DIR=build
+FLUTTER_BUILD_NAME=1.0.0
+FLUTTER_BUILD_NUMBER=1
+DART_OBFUSCATION=false
+TRACK_WIDGET_CREATION=true
+TREE_SHAKE_ICONS=false
+PACKAGE_CONFIG=.dart_tool/package_config.json
diff --git a/animation_gallery/macos/Flutter/ephemeral/flutter_export_environment.sh b/animation_gallery/macos/Flutter/ephemeral/flutter_export_environment.sh
new file mode 100755
index 000000000..76ce3ca25
--- /dev/null
+++ b/animation_gallery/macos/Flutter/ephemeral/flutter_export_environment.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+# This is a generated file; do not edit or check into version control.
+export "FLUTTER_ROOT=/Users/ewindmill/development/flutter"
+export "FLUTTER_APPLICATION_PATH=/Users/ewindmill/development/samples/animation_gallery"
+export "FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=/Users/ewindmill/development/samples/animation_gallery/macos/Flutter/ephemeral/Packages/.packages/FlutterFramework"
+export "COCOAPODS_PARALLEL_CODE_SIGN=true"
+export "FLUTTER_BUILD_DIR=build"
+export "FLUTTER_BUILD_NAME=1.0.0"
+export "FLUTTER_BUILD_NUMBER=1"
+export "DART_OBFUSCATION=false"
+export "TRACK_WIDGET_CREATION=true"
+export "TREE_SHAKE_ICONS=false"
+export "PACKAGE_CONFIG=.dart_tool/package_config.json"
diff --git a/animation_gallery/macos/Flutter/ephemeral/flutter_native_integration.env b/animation_gallery/macos/Flutter/ephemeral/flutter_native_integration.env
new file mode 100644
index 000000000..d9c02a501
--- /dev/null
+++ b/animation_gallery/macos/Flutter/ephemeral/flutter_native_integration.env
@@ -0,0 +1,11 @@
+FLUTTER_ROOT=/Users/ewindmill/development/flutter
+FLUTTER_APPLICATION_PATH=/Users/ewindmill/development/samples/animation_gallery
+FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=/Users/ewindmill/development/samples/animation_gallery/macos/Flutter/ephemeral/Packages/.packages/FlutterFramework
+COCOAPODS_PARALLEL_CODE_SIGN=true
+FLUTTER_BUILD_DIR=build
+FLUTTER_BUILD_NAME=1.0.0
+FLUTTER_BUILD_NUMBER=1
+DART_OBFUSCATION=false
+TRACK_WIDGET_CREATION=true
+TREE_SHAKE_ICONS=false
+PACKAGE_CONFIG=.dart_tool/package_config.json
diff --git a/animations/analysis_options.yaml b/animations/analysis_options.yaml
index 13d6fe105..5e2133eb6 100644
--- a/animations/analysis_options.yaml
+++ b/animations/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../analysis_options.yaml
diff --git a/animations/ios/Runner/AppDelegate.swift b/animations/ios/Runner/AppDelegate.swift
index 70693e4a8..c30b367ec 100644
--- a/animations/ios/Runner/AppDelegate.swift
+++ b/animations/ios/Runner/AppDelegate.swift
@@ -1,13 +1,16 @@
-import UIKit
import Flutter
+import UIKit
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
+@main
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/animations/ios/Runner/Info.plist b/animations/ios/Runner/Info.plist
index a6d2ff85d..0724330bc 100644
--- a/animations/ios/Runner/Info.plist
+++ b/animations/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/asset_transformation/grayscale_transformer/analysis_options.yaml b/asset_transformation/grayscale_transformer/analysis_options.yaml
index dee8927aa..a96029588 100644
--- a/asset_transformation/grayscale_transformer/analysis_options.yaml
+++ b/asset_transformation/grayscale_transformer/analysis_options.yaml
@@ -1,30 +1,10 @@
-# This file configures the static analysis results for your project (errors,
-# warnings, and lints).
-#
-# This enables the 'recommended' set of lints from `package:lints`.
-# This set helps identify many issues that may lead to problems when running
-# or consuming Dart code, and enforces writing Dart using a single, idiomatic
-# style and format.
-#
-# If you want a smaller set of lints you can change this to specify
-# 'package:lints/core.yaml'. These are just the most critical lints
-# (the recommended set includes the core lints).
-# The core lints are also what is used by pub.dev for scoring packages.
-
-include: package:lints/recommended.yaml
-
-# Uncomment the following section to specify additional rules.
-
-# linter:
-# rules:
-# - camel_case_types
-
-# analyzer:
-# exclude:
-# - path/to/excluded/files/**
-
-# For more information about the core and recommended set of lints, see
-# https://dart.dev/go/core-lints
-
-# For additional information about configuring this file, see
-# https://dart.dev/guides/language/analysis-options
+analyzer:
+ exclude:
+ - build/**
+ - android/**
+ - ios/**
+ - web/**
+ - windows/**
+ - macos/**
+ - linux/**
+include: ../../analysis_options.yaml
diff --git a/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart b/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart
index ac1e61795..b80fe7184 100644
--- a/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart
+++ b/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart
@@ -16,8 +16,8 @@ int main(List arguments) {
..addOption(outputOptionName, mandatory: true, abbr: 'o');
ArgResults argResults = parser.parse(arguments);
- final String inputFilePath = argResults[inputOptionName];
- final String outputFilePath = argResults[outputOptionName];
+ final String inputFilePath = argResults[inputOptionName] as String;
+ final String outputFilePath = argResults[outputOptionName] as String;
try {
final Image image = decodeImage(File(inputFilePath).readAsBytesSync())!;
diff --git a/asset_transformation/ios/Runner/AppDelegate.swift b/asset_transformation/ios/Runner/AppDelegate.swift
index 626664468..c30b367ec 100644
--- a/asset_transformation/ios/Runner/AppDelegate.swift
+++ b/asset_transformation/ios/Runner/AppDelegate.swift
@@ -2,12 +2,15 @@ import Flutter
import UIKit
@main
-@objc class AppDelegate: FlutterAppDelegate {
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/asset_transformation/ios/Runner/Info.plist b/asset_transformation/ios/Runner/Info.plist
index 10bfdec30..d59367c3a 100644
--- a/asset_transformation/ios/Runner/Info.plist
+++ b/asset_transformation/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/asset_transformation/test/main_test.dart b/asset_transformation/test/main_test.dart
index e3bae36ee..2c84aa5f2 100644
--- a/asset_transformation/test/main_test.dart
+++ b/asset_transformation/test/main_test.dart
@@ -1,8 +1,8 @@
-import 'package:flutter_test/flutter_test.dart';
import 'package:asset_transformation/main.dart';
+import 'package:flutter_test/flutter_test.dart';
void main() {
- testWidgets('app can render without exceptions', (WidgetTester tester) async {
+ testWidgets('app can render without exceptions', (tester) async {
await tester.pumpWidget(const MainApp());
});
}
diff --git a/background_isolate_channels/analysis_options.yaml b/background_isolate_channels/analysis_options.yaml
index 13d6fe105..5e2133eb6 100644
--- a/background_isolate_channels/analysis_options.yaml
+++ b/background_isolate_channels/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../analysis_options.yaml
diff --git a/compass_app/app/analysis_options.yaml b/compass_app/app/analysis_options.yaml
index 06985b74e..f9d5a4460 100644
--- a/compass_app/app/analysis_options.yaml
+++ b/compass_app/app/analysis_options.yaml
@@ -1,5 +1,3 @@
-include: package:flutter_lints/flutter.yaml
-
linter:
rules:
- combinators_ordering
@@ -9,3 +7,14 @@ linter:
- prefer_final_in_for_each
- prefer_final_locals
- prefer_relative_imports
+
+analyzer:
+ exclude:
+ - build/**
+ - android/**
+ - ios/**
+ - web/**
+ - windows/**
+ - macos/**
+ - linux/**
+
\ No newline at end of file
diff --git a/compass_app/app/ios/Runner/AppDelegate.swift b/compass_app/app/ios/Runner/AppDelegate.swift
index 9074fee92..c30b367ec 100644
--- a/compass_app/app/ios/Runner/AppDelegate.swift
+++ b/compass_app/app/ios/Runner/AppDelegate.swift
@@ -1,13 +1,16 @@
import Flutter
import UIKit
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
+@main
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/compass_app/app/ios/Runner/Info.plist b/compass_app/app/ios/Runner/Info.plist
index e8a8df16d..ed33ebafc 100644
--- a/compass_app/app/ios/Runner/Info.plist
+++ b/compass_app/app/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart b/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart
index c4d410272..61d9bd3eb 100644
--- a/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart
+++ b/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart
@@ -31,7 +31,7 @@ class BookingRepositoryRemote implements BookingRepository {
.map((activity) => activity.ref)
.toList(),
);
- return _apiClient.postBooking(bookingApiModel);
+ return await _apiClient.postBooking(bookingApiModel);
} on Exception catch (e) {
return Result.error(e);
}
@@ -121,7 +121,7 @@ class BookingRepositoryRemote implements BookingRepository {
@override
Future> delete(int id) async {
try {
- return _apiClient.deleteBooking(id);
+ return await _apiClient.deleteBooking(id);
} on Exception catch (e) {
return Result.error(e);
}
diff --git a/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart b/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart
index 3fcff3e30..cec85afa5 100644
--- a/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart
+++ b/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart
@@ -85,7 +85,6 @@ class BookingCreateUseCase {
switch (saveBookingResult) {
case Ok():
_log.fine('Booking saved successfully');
- break;
case Error():
_log.warning('Failed to save booking', saveBookingResult.error);
return Result.error(saveBookingResult.error);
diff --git a/compass_app/app/lib/routing/router.dart b/compass_app/app/lib/routing/router.dart
index b27b95aea..695d0533a 100644
--- a/compass_app/app/lib/routing/router.dart
+++ b/compass_app/app/lib/routing/router.dart
@@ -46,9 +46,7 @@ GoRouter router(AuthRepository authRepository) => GoRouter(
authRepository: context.read(),
itineraryConfigRepository: context.read(),
);
- return HomeScreenContainer(
- logoutViewModel: logoutViewModel,
- );
+ return HomeScreenContainer(logoutViewModel: logoutViewModel);
},
routes: [
GoRoute(
diff --git a/compass_app/app/lib/ui/core/localization/applocalization.dart b/compass_app/app/lib/ui/core/localization/applocalization.dart
index b4aa2823c..d9ecd3128 100644
--- a/compass_app/app/lib/ui/core/localization/applocalization.dart
+++ b/compass_app/app/lib/ui/core/localization/applocalization.dart
@@ -7,7 +7,7 @@ import 'package:flutter/material.dart';
class AppLocalization {
static AppLocalization of(BuildContext context) {
- return Localizations.of(context, AppLocalization);
+ return Localizations.of(context, AppLocalization)!;
}
static const _strings = {
diff --git a/compass_app/app/lib/ui/home/widgets/home_screen_container.dart b/compass_app/app/lib/ui/home/widgets/home_screen_container.dart
index 31608b1a5..5ec0cbcf7 100644
--- a/compass_app/app/lib/ui/home/widgets/home_screen_container.dart
+++ b/compass_app/app/lib/ui/home/widgets/home_screen_container.dart
@@ -8,10 +8,7 @@ import '../view_models/home_viewmodel.dart';
import 'home_screen.dart';
class HomeScreenContainer extends StatefulWidget {
- const HomeScreenContainer({
- super.key,
- required this.logoutViewModel,
- });
+ const HomeScreenContainer({super.key, required this.logoutViewModel});
final LogoutViewModel logoutViewModel;
diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart
index a12991886..d59b5eb4b 100644
--- a/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart
+++ b/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart
@@ -52,7 +52,7 @@ class SearchFormContinent extends StatelessWidget {
scrollDirection: Axis.horizontal,
itemCount: viewModel.continents.length,
padding: Dimens.of(context).edgeInsetsScreenHorizontal,
- itemBuilder: (BuildContext context, int index) {
+ itemBuilder: (context, index) {
final Continent(:imageUrl, :name) = viewModel.continents[index];
return _CarouselItem(
key: ValueKey(name),
@@ -61,7 +61,7 @@ class SearchFormContinent extends StatelessWidget {
viewModel: viewModel,
);
},
- separatorBuilder: (BuildContext context, int index) {
+ separatorBuilder: (context, index) {
return const SizedBox(width: 8);
},
);
diff --git a/compass_app/app/macos/Flutter/GeneratedPluginRegistrant.swift b/compass_app/app/macos/Flutter/GeneratedPluginRegistrant.swift
index 8c02029d1..8255a0b99 100644
--- a/compass_app/app/macos/Flutter/GeneratedPluginRegistrant.swift
+++ b/compass_app/app/macos/Flutter/GeneratedPluginRegistrant.swift
@@ -5,13 +5,11 @@
import FlutterMacOS
import Foundation
-import path_provider_foundation
import share_plus
import shared_preferences_foundation
import sqflite_darwin
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
- PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
diff --git a/compass_app/app/pubspec.yaml b/compass_app/app/pubspec.yaml
index cbdd3ff05..379f7af12 100644
--- a/compass_app/app/pubspec.yaml
+++ b/compass_app/app/pubspec.yaml
@@ -35,7 +35,7 @@ dev_dependencies:
integration_test:
sdk: flutter
build_runner: ^2.4.14
- freezed: ^3.0.0
+ freezed: '>=3.0.0 <5.0.0'
json_serializable: ^6.9.0
flutter:
diff --git a/compass_app/app/test/ui/activities/activities_screen_test.dart b/compass_app/app/test/ui/activities/activities_screen_test.dart
index fb76286e6..1ed1a4c7d 100644
--- a/compass_app/app/test/ui/activities/activities_screen_test.dart
+++ b/compass_app/app/test/ui/activities/activities_screen_test.dart
@@ -45,14 +45,14 @@ void main() {
);
}
- testWidgets('should load screen', (WidgetTester tester) async {
+ testWidgets('should load screen', (tester) async {
await mockNetworkImages(() async {
await loadScreen(tester);
expect(find.byType(ActivitiesScreen), findsOneWidget);
});
});
- testWidgets('should list activity', (WidgetTester tester) async {
+ testWidgets('should list activity', (tester) async {
await mockNetworkImages(() async {
await loadScreen(tester);
expect(find.byType(ActivityEntry), findsOneWidget);
@@ -60,9 +60,7 @@ void main() {
});
});
- testWidgets('should select activity and confirm', (
- WidgetTester tester,
- ) async {
+ testWidgets('should select activity and confirm', (tester) async {
await mockNetworkImages(() async {
await loadScreen(tester);
// Select one activity
diff --git a/compass_app/app/test/ui/auth/login_screen_test.dart b/compass_app/app/test/ui/auth/login_screen_test.dart
index a893e8eaa..80eb45edf 100644
--- a/compass_app/app/test/ui/auth/login_screen_test.dart
+++ b/compass_app/app/test/ui/auth/login_screen_test.dart
@@ -32,14 +32,14 @@ void main() {
);
}
- testWidgets('should load screen', (WidgetTester tester) async {
+ testWidgets('should load screen', (tester) async {
await mockNetworkImages(() async {
await loadScreen(tester);
expect(find.byType(LoginScreen), findsOneWidget);
});
});
- testWidgets('should perform login', (WidgetTester tester) async {
+ testWidgets('should perform login', (tester) async {
await mockNetworkImages(() async {
await loadScreen(tester);
diff --git a/compass_app/app/test/ui/auth/logout_button_test.dart b/compass_app/app/test/ui/auth/logout_button_test.dart
index 07891ce89..52397dbf1 100644
--- a/compass_app/app/test/ui/auth/logout_button_test.dart
+++ b/compass_app/app/test/ui/auth/logout_button_test.dart
@@ -43,14 +43,14 @@ void main() {
);
}
- testWidgets('should load widget', (WidgetTester tester) async {
+ testWidgets('should load widget', (tester) async {
await mockNetworkImages(() async {
await loadScreen(tester);
expect(find.byType(LogoutButton), findsOneWidget);
});
});
- testWidgets('should perform logout', (WidgetTester tester) async {
+ testWidgets('should perform logout', (tester) async {
await mockNetworkImages(() async {
await loadScreen(tester);
diff --git a/compass_app/app/test/ui/booking/booking_screen_test.dart b/compass_app/app/test/ui/booking/booking_screen_test.dart
index 0036e1703..5499dc92b 100644
--- a/compass_app/app/test/ui/booking/booking_screen_test.dart
+++ b/compass_app/app/test/ui/booking/booking_screen_test.dart
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+import 'dart:async';
+
import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart';
import 'package:compass_app/domain/use_cases/booking/booking_create_use_case.dart';
import 'package:compass_app/domain/use_cases/booking/booking_share_use_case.dart';
@@ -62,20 +64,20 @@ void main() {
);
}
- testWidgets('should load screen', (WidgetTester tester) async {
+ testWidgets('should load screen', (tester) async {
await loadScreen(tester);
expect(find.byType(BookingScreen), findsOneWidget);
});
- testWidgets('should display booking from ID', (WidgetTester tester) async {
+ testWidgets('should display booking from ID', (tester) async {
// Add a booking to repository
- bookingRepository.createBooking(kBooking);
+ unawaited(bookingRepository.createBooking(kBooking));
// Load screen
await loadScreen(tester);
// Load booking with ID 0
- viewModel.loadBooking.execute(0);
+ unawaited(viewModel.loadBooking.execute(0));
// Wait for booking to load
await tester.pumpAndSettle();
@@ -84,13 +86,11 @@ void main() {
expect(find.text(kBooking.destination.tags.first), findsOneWidget);
});
- testWidgets('should create booking from itinerary config', (
- WidgetTester tester,
- ) async {
+ testWidgets('should create booking from itinerary config', (tester) async {
await loadScreen(tester);
// Create a new booking from stored itinerary config
- viewModel.createBooking.execute();
+ unawaited(viewModel.createBooking.execute());
// Wait for booking to load
await tester.pumpAndSettle();
@@ -102,10 +102,10 @@ void main() {
expect(bookingRepository.bookings.length, 1);
});
- testWidgets('should share booking', (WidgetTester tester) async {
- bookingRepository.createBooking(kBooking);
+ testWidgets('should share booking', (tester) async {
+ unawaited(bookingRepository.createBooking(kBooking));
await loadScreen(tester);
- viewModel.loadBooking.execute(0);
+ unawaited(viewModel.loadBooking.execute(0));
await tester.pumpAndSettle();
await tester.tap(find.byKey(const Key('share-button')));
expect(shared, true);
diff --git a/compass_app/app/test/ui/home/widgets/home_screen_test.dart b/compass_app/app/test/ui/home/widgets/home_screen_test.dart
index a99981100..4464f5325 100644
--- a/compass_app/app/test/ui/home/widgets/home_screen_test.dart
+++ b/compass_app/app/test/ui/home/widgets/home_screen_test.dart
@@ -43,10 +43,7 @@ void main() {
Future loadWidget(WidgetTester tester) async {
await testApp(
tester,
- HomeScreen(
- viewModel: viewModel,
- logoutViewModel: logoutViewModel,
- ),
+ HomeScreen(viewModel: viewModel, logoutViewModel: logoutViewModel),
goRouter: goRouter,
);
}
diff --git a/compass_app/app/test/ui/results/results_screen_test.dart b/compass_app/app/test/ui/results/results_screen_test.dart
index cfb1ce3a3..f7197a908 100644
--- a/compass_app/app/test/ui/results/results_screen_test.dart
+++ b/compass_app/app/test/ui/results/results_screen_test.dart
@@ -42,14 +42,14 @@ void main() {
);
}
- testWidgets('should load screen', (WidgetTester tester) async {
+ testWidgets('should load screen', (tester) async {
await mockNetworkImages(() async {
await loadScreen(tester);
expect(find.byType(ResultsScreen), findsOneWidget);
});
});
- testWidgets('should display destination', (WidgetTester tester) async {
+ testWidgets('should display destination', (tester) async {
await mockNetworkImages(() async {
await loadScreen(tester);
@@ -62,9 +62,7 @@ void main() {
});
});
- testWidgets('should tap and navigate to activities', (
- WidgetTester tester,
- ) async {
+ testWidgets('should tap and navigate to activities', (tester) async {
await mockNetworkImages(() async {
await loadScreen(tester);
diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart
index 6015cecec..a009d3591 100644
--- a/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart
+++ b/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart
@@ -25,9 +25,7 @@ void main() {
await testApp(tester, SearchFormContinent(viewModel: viewModel));
}
- testWidgets('Should load and select continent', (
- WidgetTester tester,
- ) async {
+ testWidgets('Should load and select continent', (tester) async {
await loadWidget(tester);
expect(find.byType(SearchFormContinent), findsOneWidget);
diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart
index f099dc2ab..d9cb5e269 100644
--- a/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart
+++ b/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart
@@ -26,9 +26,7 @@ void main() {
await testApp(tester, SearchFormDate(viewModel: viewModel));
}
- testWidgets('should display date in different month', (
- WidgetTester tester,
- ) async {
+ testWidgets('should display date in different month', (tester) async {
await loadWidget(tester);
expect(find.byType(SearchFormDate), findsOneWidget);
@@ -45,9 +43,7 @@ void main() {
expect(find.text('12 Jun - 23 Jul'), findsOneWidget);
});
- testWidgets('should display date in same month', (
- WidgetTester tester,
- ) async {
+ testWidgets('should display date in same month', (tester) async {
await loadWidget(tester);
expect(find.byType(SearchFormDate), findsOneWidget);
diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart
index 858f3e002..5aff3a983 100644
--- a/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart
+++ b/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart
@@ -26,7 +26,7 @@ void main() {
await testApp(tester, SearchFormGuests(viewModel: viewModel));
}
- testWidgets('Increase number of guests', (WidgetTester tester) async {
+ testWidgets('Increase number of guests', (tester) async {
await loadWidget(tester);
expect(find.byType(SearchFormGuests), findsOneWidget);
@@ -39,7 +39,7 @@ void main() {
expect(find.text('1'), findsOneWidget);
});
- testWidgets('Decrease number of guests', (WidgetTester tester) async {
+ testWidgets('Decrease number of guests', (tester) async {
await loadWidget(tester);
expect(find.byType(SearchFormGuests), findsOneWidget);
diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart
index 355cc80f8..9d22a1210 100644
--- a/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart
+++ b/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart
@@ -46,9 +46,7 @@ void main() {
);
}
- testWidgets('Should fill form and perform search', (
- WidgetTester tester,
- ) async {
+ testWidgets('Should fill form and perform search', (tester) async {
await loadWidget(tester);
expect(find.byType(SearchFormScreen), findsOneWidget);
diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart
index 949d40436..4fa99b52d 100644
--- a/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart
+++ b/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart
@@ -34,7 +34,7 @@ void main() {
);
}
- testWidgets('Should be enabled and allow tap', (WidgetTester tester) async {
+ testWidgets('Should be enabled and allow tap', (tester) async {
await loadWidget(tester);
expect(find.byType(SearchFormSubmit), findsOneWidget);
diff --git a/compass_app/app/test/utils/command_test.dart b/compass_app/app/test/utils/command_test.dart
index 4633fb41f..733f383f3 100644
--- a/compass_app/app/test/utils/command_test.dart
+++ b/compass_app/app/test/utils/command_test.dart
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+import 'dart:async';
+
import 'package:compass_app/utils/command.dart';
import 'package:compass_app/utils/result.dart';
import 'package:flutter_test/flutter_test.dart';
@@ -53,10 +55,10 @@ void main() {
final future = command.execute();
// Run multiple times
- command.execute();
- command.execute();
- command.execute();
- command.execute();
+ unawaited(command.execute());
+ unawaited(command.execute());
+ unawaited(command.execute());
+ unawaited(command.execute());
// Await execution
await future;
diff --git a/compass_app/server/analysis_options.yaml b/compass_app/server/analysis_options.yaml
new file mode 100644
index 000000000..d2c523a71
--- /dev/null
+++ b/compass_app/server/analysis_options.yaml
@@ -0,0 +1,19 @@
+linter:
+ rules:
+ - combinators_ordering
+ - directives_ordering
+ - omit_local_variable_types
+ - prefer_final_fields
+ - prefer_final_in_for_each
+ - prefer_final_locals
+ - prefer_relative_imports
+
+analyzer:
+ exclude:
+ - build/**
+ - android/**
+ - ios/**
+ - web/**
+ - windows/**
+ - macos/**
+ - linux/**
diff --git a/compass_app/server/bin/compass_server.dart b/compass_app/server/bin/compass_server.dart
index 7f2011552..5dc7c6251 100644
--- a/compass_app/server/bin/compass_server.dart
+++ b/compass_app/server/bin/compass_server.dart
@@ -35,5 +35,6 @@ void main(List args) async {
// For running in containers, we respect the PORT environment variable.
final port = int.parse(Platform.environment['PORT'] ?? '8080');
final server = await serve(handler, ip, port);
+ // ignore: avoid_print
print('Server listening on port ${server.port}');
}
diff --git a/compass_app/server/pubspec.yaml b/compass_app/server/pubspec.yaml
index f26d031a3..ac42aea6a 100644
--- a/compass_app/server/pubspec.yaml
+++ b/compass_app/server/pubspec.yaml
@@ -20,5 +20,5 @@ dev_dependencies:
path: ../../analysis_defaults
test: ^1.24.0
build_runner: ^2.4.11
- freezed: ^3.0.0
+ freezed: '>=3.0.0 <5.0.0'
json_serializable: ^6.8.0
diff --git a/cupertino_gallery/analysis_options.yaml b/cupertino_gallery/analysis_options.yaml
index 0d2902135..5e2133eb6 100644
--- a/cupertino_gallery/analysis_options.yaml
+++ b/cupertino_gallery/analysis_options.yaml
@@ -1,28 +1 @@
-# This file configures the analyzer, which statically analyzes Dart code to
-# check for errors, warnings, and lints.
-#
-# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
-# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
-# invoked from the command line by running `flutter analyze`.
-
-# The following line activates a set of recommended lints for Flutter apps,
-# packages, and plugins designed to encourage good coding practices.
-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.dev/lints.
- #
- # Instead of disabling a lint rule for the entire project in the
- # section below, it can also be suppressed for a single line of code
- # or a specific dart file by using the `// ignore: name_of_lint` and
- # `// ignore_for_file: name_of_lint` syntax on the line or in the file
- # producing the lint.
- rules:
- # 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
+include: ../analysis_options.yaml
diff --git a/cupertino_gallery/ios/Runner/AppDelegate.swift b/cupertino_gallery/ios/Runner/AppDelegate.swift
index 626664468..c30b367ec 100644
--- a/cupertino_gallery/ios/Runner/AppDelegate.swift
+++ b/cupertino_gallery/ios/Runner/AppDelegate.swift
@@ -2,12 +2,15 @@ import Flutter
import UIKit
@main
-@objc class AppDelegate: FlutterAppDelegate {
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/cupertino_gallery/ios/Runner/Info.plist b/cupertino_gallery/ios/Runner/Info.plist
index a8ead9290..6eaf62432 100644
--- a/cupertino_gallery/ios/Runner/Info.plist
+++ b/cupertino_gallery/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/cupertino_gallery/lib/gallery_home.dart b/cupertino_gallery/lib/gallery_home.dart
index fc1b25f26..cd206ed80 100644
--- a/cupertino_gallery/lib/gallery_home.dart
+++ b/cupertino_gallery/lib/gallery_home.dart
@@ -31,9 +31,9 @@ class GalleryHome extends StatelessWidget {
),
],
),
- tabBuilder: (BuildContext context, int index) {
+ tabBuilder: (context, index) {
return CupertinoTabView(
- builder: (BuildContext context) {
+ builder: (context) {
return switch (index) {
0 => const WidgetsPage(),
1 => SettingsPage(
diff --git a/cupertino_gallery/lib/settings_page.dart b/cupertino_gallery/lib/settings_page.dart
index ae35c4461..6022afb96 100644
--- a/cupertino_gallery/lib/settings_page.dart
+++ b/cupertino_gallery/lib/settings_page.dart
@@ -54,7 +54,7 @@ class _SettingsPageState extends State {
title: const Text('Dark Mode'),
trailing: CupertinoSwitch(
value: isDarkMode,
- onChanged: (bool isActive) {
+ onChanged: (isActive) {
setState(() {
isDarkMode = isActive;
widget.onThemeChange(isActive);
@@ -70,7 +70,7 @@ class _SettingsPageState extends State {
value: _textSize,
min: 0.5,
max: 1.5,
- onChanged: (double value) {
+ onChanged: (value) {
setState(() {
_textSize = value;
});
@@ -103,7 +103,7 @@ class _SettingsPageState extends State {
onTap: () {
showCupertinoDialog(
context: context,
- builder: (BuildContext context) => CupertinoAlertDialog(
+ builder: (context) => CupertinoAlertDialog(
title: const Text('Reset Settings'),
content: const Text(
'Are you sure you want to reset all settings?',
diff --git a/cupertino_gallery/lib/widgets/action_sheet_page.dart b/cupertino_gallery/lib/widgets/action_sheet_page.dart
index b5a8c5b0e..0a26a4f70 100644
--- a/cupertino_gallery/lib/widgets/action_sheet_page.dart
+++ b/cupertino_gallery/lib/widgets/action_sheet_page.dart
@@ -13,7 +13,7 @@ class ActionSheetPage extends StatelessWidget {
onPressed: () {
showCupertinoModalPopup(
context: context,
- builder: (BuildContext context) => CupertinoActionSheet(
+ builder: (context) => CupertinoActionSheet(
title: const Text('Title'),
message: const Text('Message'),
actions: [
diff --git a/cupertino_gallery/lib/widgets/alert_dialog_page.dart b/cupertino_gallery/lib/widgets/alert_dialog_page.dart
index 416ba5160..bd8aa7842 100644
--- a/cupertino_gallery/lib/widgets/alert_dialog_page.dart
+++ b/cupertino_gallery/lib/widgets/alert_dialog_page.dart
@@ -13,7 +13,7 @@ class AlertDialogPage extends StatelessWidget {
onPressed: () {
showCupertinoDialog(
context: context,
- builder: (BuildContext context) => CupertinoAlertDialog(
+ builder: (context) => CupertinoAlertDialog(
title: const Text('Alert'),
content: const Text('This is a sample alert dialog.'),
actions: [
diff --git a/cupertino_gallery/lib/widgets/checkbox_page.dart b/cupertino_gallery/lib/widgets/checkbox_page.dart
index 6244e6b87..b482054d0 100644
--- a/cupertino_gallery/lib/widgets/checkbox_page.dart
+++ b/cupertino_gallery/lib/widgets/checkbox_page.dart
@@ -17,7 +17,7 @@ class _CheckboxPageState extends State {
child: Center(
child: CupertinoCheckbox(
value: _value,
- onChanged: (bool? value) {
+ onChanged: (value) {
setState(() {
_value = value!;
});
diff --git a/cupertino_gallery/lib/widgets/date_picker_page.dart b/cupertino_gallery/lib/widgets/date_picker_page.dart
index 126bd967c..aee62b46a 100644
--- a/cupertino_gallery/lib/widgets/date_picker_page.dart
+++ b/cupertino_gallery/lib/widgets/date_picker_page.dart
@@ -10,7 +10,7 @@ class DatePickerPage extends StatelessWidget {
child: Center(
child: SizedBox(
height: 200,
- child: CupertinoDatePicker(onDateTimeChanged: (DateTime newDate) {}),
+ child: CupertinoDatePicker(onDateTimeChanged: (newDate) {}),
),
),
);
diff --git a/cupertino_gallery/lib/widgets/picker_page.dart b/cupertino_gallery/lib/widgets/picker_page.dart
index 63223061d..60ef8e6c2 100644
--- a/cupertino_gallery/lib/widgets/picker_page.dart
+++ b/cupertino_gallery/lib/widgets/picker_page.dart
@@ -12,7 +12,7 @@ class PickerPage extends StatelessWidget {
height: 200,
child: CupertinoPicker(
itemExtent: 32,
- onSelectedItemChanged: (int index) {},
+ onSelectedItemChanged: (index) {},
children: const [Text('One'), Text('Two'), Text('Three')],
),
),
diff --git a/cupertino_gallery/lib/widgets/popup_surface_page.dart b/cupertino_gallery/lib/widgets/popup_surface_page.dart
index c817ab474..d871e6c7f 100644
--- a/cupertino_gallery/lib/widgets/popup_surface_page.dart
+++ b/cupertino_gallery/lib/widgets/popup_surface_page.dart
@@ -15,7 +15,7 @@ class PopupSurfacePage extends StatelessWidget {
onPressed: () {
showCupertinoModalPopup(
context: context,
- builder: (BuildContext context) {
+ builder: (context) {
return CupertinoPopupSurface(
child: Container(
color: CupertinoColors.white,
diff --git a/cupertino_gallery/lib/widgets/radio_page.dart b/cupertino_gallery/lib/widgets/radio_page.dart
index f5e768472..c6003c17d 100644
--- a/cupertino_gallery/lib/widgets/radio_page.dart
+++ b/cupertino_gallery/lib/widgets/radio_page.dart
@@ -17,7 +17,7 @@ class _RadioPageState extends State {
child: Center(
child: RadioGroup(
groupValue: _selectedValue,
- onChanged: (int? value) {
+ onChanged: (value) {
setState(() {
_selectedValue = value!;
});
diff --git a/cupertino_gallery/lib/widgets/scrollbar_page.dart b/cupertino_gallery/lib/widgets/scrollbar_page.dart
index fdecb34cb..cf9e67582 100644
--- a/cupertino_gallery/lib/widgets/scrollbar_page.dart
+++ b/cupertino_gallery/lib/widgets/scrollbar_page.dart
@@ -13,10 +13,10 @@ class ScrollbarPage extends StatelessWidget {
child: ListView.separated(
controller: controller,
itemCount: 100,
- itemBuilder: (BuildContext context, int index) {
+ itemBuilder: (context, index) {
return CupertinoListTile(title: Text('Item $index'));
},
- separatorBuilder: (BuildContext context, int index) {
+ separatorBuilder: (context, index) {
return Container(height: 1, color: CupertinoColors.opaqueSeparator);
},
),
diff --git a/cupertino_gallery/lib/widgets/segmented_control_page.dart b/cupertino_gallery/lib/widgets/segmented_control_page.dart
index 614ca44b2..4e344d608 100644
--- a/cupertino_gallery/lib/widgets/segmented_control_page.dart
+++ b/cupertino_gallery/lib/widgets/segmented_control_page.dart
@@ -23,7 +23,7 @@ class _SegmentedControlPageState extends State {
1: Text('Two'),
2: Text('Three'),
},
- onValueChanged: (int val) {
+ onValueChanged: (val) {
setState(() {
_selectedIndex = val;
});
diff --git a/cupertino_gallery/lib/widgets/sheet_page.dart b/cupertino_gallery/lib/widgets/sheet_page.dart
index 103d1bdcc..1e977a82c 100644
--- a/cupertino_gallery/lib/widgets/sheet_page.dart
+++ b/cupertino_gallery/lib/widgets/sheet_page.dart
@@ -13,20 +13,21 @@ class SheetPage extends StatelessWidget {
onPressed: () {
Navigator.of(context).push(
CupertinoSheetRoute(
- builder: (BuildContext context) {
- return CupertinoPageScaffold(
- navigationBar: CupertinoNavigationBar(
- middle: const Text('Sheet'),
- trailing: GestureDetector(
- child: const Icon(CupertinoIcons.xmark),
- onTap: () {
- Navigator.of(context).pop();
- },
- ),
- ),
- child: const Center(child: Text('This is a sheet')),
- );
- },
+ scrollableBuilder:
+ (context, controller) {
+ return CupertinoPageScaffold(
+ navigationBar: CupertinoNavigationBar(
+ middle: const Text('Sheet'),
+ trailing: GestureDetector(
+ child: const Icon(CupertinoIcons.xmark),
+ onTap: () {
+ Navigator.of(context).pop();
+ },
+ ),
+ ),
+ child: const Center(child: Text('This is a sheet')),
+ );
+ },
),
);
},
diff --git a/cupertino_gallery/lib/widgets/slider_page.dart b/cupertino_gallery/lib/widgets/slider_page.dart
index 38536b159..0ed332e73 100644
--- a/cupertino_gallery/lib/widgets/slider_page.dart
+++ b/cupertino_gallery/lib/widgets/slider_page.dart
@@ -17,7 +17,7 @@ class _SliderPageState extends State {
child: Center(
child: CupertinoSlider(
value: _value,
- onChanged: (double value) {
+ onChanged: (value) {
setState(() {
_value = value;
});
diff --git a/cupertino_gallery/lib/widgets/sliding_segmented_control_page.dart b/cupertino_gallery/lib/widgets/sliding_segmented_control_page.dart
index 528c1512c..11f97fd34 100644
--- a/cupertino_gallery/lib/widgets/sliding_segmented_control_page.dart
+++ b/cupertino_gallery/lib/widgets/sliding_segmented_control_page.dart
@@ -25,7 +25,7 @@ class _SlidingSegmentedControlPageState
1: Text('Two'),
2: Text('Three'),
},
- onValueChanged: (int? value) {
+ onValueChanged: (value) {
setState(() {
_groupValue = value;
});
diff --git a/cupertino_gallery/lib/widgets/switch_page.dart b/cupertino_gallery/lib/widgets/switch_page.dart
index d0ffb8c8b..6ebb66a5c 100644
--- a/cupertino_gallery/lib/widgets/switch_page.dart
+++ b/cupertino_gallery/lib/widgets/switch_page.dart
@@ -17,7 +17,7 @@ class _SwitchPageState extends State {
child: Center(
child: CupertinoSwitch(
value: _value,
- onChanged: (bool value) {
+ onChanged: (value) {
setState(() {
_value = value;
});
diff --git a/cupertino_gallery/lib/widgets/time_picker_page.dart b/cupertino_gallery/lib/widgets/time_picker_page.dart
index 0b69ee276..f50ca1472 100644
--- a/cupertino_gallery/lib/widgets/time_picker_page.dart
+++ b/cupertino_gallery/lib/widgets/time_picker_page.dart
@@ -11,7 +11,7 @@ class TimePickerPage extends StatelessWidget {
child: SizedBox(
height: 200,
child: CupertinoTimerPicker(
- onTimerDurationChanged: (Duration newDuration) {},
+ onTimerDurationChanged: (newDuration) {},
),
),
),
diff --git a/cupertino_gallery/lib/widgets_page.dart b/cupertino_gallery/lib/widgets_page.dart
index 3c338299b..af5d5ad12 100644
--- a/cupertino_gallery/lib/widgets_page.dart
+++ b/cupertino_gallery/lib/widgets_page.dart
@@ -54,7 +54,7 @@ class CustomCupertinoListTile extends StatelessWidget {
onTap: () {
Navigator.of(context).push(
CupertinoPageRoute(
- builder: (BuildContext context) {
+ builder: (context) {
return WidgetDetailPage(title: title);
},
),
diff --git a/date_planner/analysis_options.yaml b/date_planner/analysis_options.yaml
index 0d2902135..77ebd6f0a 100644
--- a/date_planner/analysis_options.yaml
+++ b/date_planner/analysis_options.yaml
@@ -1,28 +1,5 @@
-# This file configures the analyzer, which statically analyzes Dart code to
-# check for errors, warnings, and lints.
-#
-# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
-# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
-# invoked from the command line by running `flutter analyze`.
-
-# The following line activates a set of recommended lints for Flutter apps,
-# packages, and plugins designed to encourage good coding practices.
-include: package:flutter_lints/flutter.yaml
+include: ../analysis_options.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.dev/lints.
- #
- # Instead of disabling a lint rule for the entire project in the
- # section below, it can also be suppressed for a single line of code
- # or a specific dart file by using the `// ignore: name_of_lint` and
- # `// ignore_for_file: name_of_lint` syntax on the line or in the file
- # producing the lint.
rules:
- # 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
+ sort_pub_dependencies: true
diff --git a/date_planner/ios/Runner/AppDelegate.swift b/date_planner/ios/Runner/AppDelegate.swift
index 626664468..c30b367ec 100644
--- a/date_planner/ios/Runner/AppDelegate.swift
+++ b/date_planner/ios/Runner/AppDelegate.swift
@@ -2,12 +2,15 @@ import Flutter
import UIKit
@main
-@objc class AppDelegate: FlutterAppDelegate {
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/date_planner/ios/Runner/Info.plist b/date_planner/ios/Runner/Info.plist
index c836cd5dd..cb423ae71 100644
--- a/date_planner/ios/Runner/Info.plist
+++ b/date_planner/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/date_planner/lib/event_detail.dart b/date_planner/lib/event_detail.dart
index 6407d6501..b14453095 100644
--- a/date_planner/lib/event_detail.dart
+++ b/date_planner/lib/event_detail.dart
@@ -88,7 +88,8 @@ class _EventDetailState extends State {
onChanged: (value) => event.title = value,
),
),
- if (!widget.isEditing) Text(event.title, style: titleStyle),
+ if (!widget.isEditing)
+ Text(event.title, style: titleStyle),
],
),
const SizedBox(height: 12),
diff --git a/date_planner/lib/event_list.dart b/date_planner/lib/event_list.dart
index 1ecdeb1bc..026350538 100644
--- a/date_planner/lib/event_list.dart
+++ b/date_planner/lib/event_list.dart
@@ -16,7 +16,7 @@ class EventList extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Consumer(
- builder: (BuildContext context, EventData events, Widget? child) {
+ builder: (context, events, child) {
return CupertinoPageScaffold(
// TODO(mit-mit): Avoid having to pass nav bar manually.
//
diff --git a/date_planner/pubspec.yaml b/date_planner/pubspec.yaml
index 4b9309fa0..b06a2044d 100644
--- a/date_planner/pubspec.yaml
+++ b/date_planner/pubspec.yaml
@@ -8,9 +8,9 @@ environment:
sdk: ^3.9.0-0
dependencies:
+ cupertino_icons: ^1.0.8
flutter:
sdk: flutter
- cupertino_icons: ^1.0.8
intl:
provider:
uuid:
diff --git a/desktop_photo_search/fluent_ui/analysis_options.yaml b/desktop_photo_search/fluent_ui/analysis_options.yaml
index f6bfd9b61..511bdbae1 100644
--- a/desktop_photo_search/fluent_ui/analysis_options.yaml
+++ b/desktop_photo_search/fluent_ui/analysis_options.yaml
@@ -1,4 +1,4 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../../analysis_options.yaml
linter:
rules:
diff --git a/desktop_photo_search/fluent_ui/pubspec.yaml b/desktop_photo_search/fluent_ui/pubspec.yaml
index 4ec96add0..5ef775413 100644
--- a/desktop_photo_search/fluent_ui/pubspec.yaml
+++ b/desktop_photo_search/fluent_ui/pubspec.yaml
@@ -31,7 +31,7 @@ dev_dependencies:
analysis_defaults:
path: ../../analysis_defaults
async: ^2.11.0
- build: ^3.0.0
+ build: '>=3.0.0 <5.0.0'
build_runner: ^2.4.6
built_value_generator: ^8.6.1
flutter_test:
diff --git a/desktop_photo_search/material/analysis_options.yaml b/desktop_photo_search/material/analysis_options.yaml
index f6bfd9b61..511bdbae1 100644
--- a/desktop_photo_search/material/analysis_options.yaml
+++ b/desktop_photo_search/material/analysis_options.yaml
@@ -1,4 +1,4 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../../analysis_options.yaml
linter:
rules:
diff --git a/desktop_photo_search/material/pubspec.yaml b/desktop_photo_search/material/pubspec.yaml
index 29ef3b1f4..f202a3cfc 100644
--- a/desktop_photo_search/material/pubspec.yaml
+++ b/desktop_photo_search/material/pubspec.yaml
@@ -30,7 +30,7 @@ dev_dependencies:
analysis_defaults:
path: ../../analysis_defaults
async: ^2.11.0
- build: ^3.0.0
+ build: '>=3.0.0 <5.0.0'
build_runner: ^2.4.6
built_value_generator: ^8.6.1
flutter_test:
diff --git a/dynamic_theme/analysis_options.yaml b/dynamic_theme/analysis_options.yaml
index 0d2902135..5e2133eb6 100644
--- a/dynamic_theme/analysis_options.yaml
+++ b/dynamic_theme/analysis_options.yaml
@@ -1,28 +1 @@
-# This file configures the analyzer, which statically analyzes Dart code to
-# check for errors, warnings, and lints.
-#
-# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
-# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
-# invoked from the command line by running `flutter analyze`.
-
-# The following line activates a set of recommended lints for Flutter apps,
-# packages, and plugins designed to encourage good coding practices.
-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.dev/lints.
- #
- # Instead of disabling a lint rule for the entire project in the
- # section below, it can also be suppressed for a single line of code
- # or a specific dart file by using the `// ignore: name_of_lint` and
- # `// ignore_for_file: name_of_lint` syntax on the line or in the file
- # producing the lint.
- rules:
- # 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
+include: ../analysis_options.yaml
diff --git a/dynamic_theme/ios/Runner/AppDelegate.swift b/dynamic_theme/ios/Runner/AppDelegate.swift
index 70693e4a8..c30b367ec 100644
--- a/dynamic_theme/ios/Runner/AppDelegate.swift
+++ b/dynamic_theme/ios/Runner/AppDelegate.swift
@@ -1,13 +1,16 @@
-import UIKit
import Flutter
+import UIKit
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
+@main
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/dynamic_theme/ios/Runner/Info.plist b/dynamic_theme/ios/Runner/Info.plist
index 5c12ce8d0..5cd7d05ea 100644
--- a/dynamic_theme/ios/Runner/Info.plist
+++ b/dynamic_theme/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/dynamic_theme/lib/main.dart b/dynamic_theme/lib/main.dart
index b61f2855b..2281b098e 100644
--- a/dynamic_theme/lib/main.dart
+++ b/dynamic_theme/lib/main.dart
@@ -166,7 +166,9 @@ class _ExampleState extends State {
try {
final prompt = StringBuffer();
prompt.writeln(message);
- final response = await callWithActions([Content.text(prompt.toString())]);
+ final response = await callWithActions([
+ Content.text(prompt.toString()),
+ ]);
if (response.text != null) {
addMessage(Sender.system, response.text!);
} else {
@@ -209,7 +211,6 @@ class _ExampleState extends State {
}),
);
}
- break;
case 'change_theme_mode':
final mode = args['mode'] as String;
themeMode.value = switch (mode) {
@@ -224,7 +225,6 @@ class _ExampleState extends State {
'message': 'theme mode updated',
}),
);
- break;
case 'change_text_scale_factor':
final value = args['scale'] as num;
textScaleFactor.value = value.toDouble();
@@ -234,7 +234,6 @@ class _ExampleState extends State {
'message': 'font scale updated',
}),
);
- break;
default:
}
}
diff --git a/dynamic_theme/lib/widgets/api_key_widget.dart b/dynamic_theme/lib/widgets/api_key_widget.dart
index 341d07998..b5d61c737 100644
--- a/dynamic_theme/lib/widgets/api_key_widget.dart
+++ b/dynamic_theme/lib/widgets/api_key_widget.dart
@@ -21,7 +21,7 @@ class ApiKeyWidget extends StatelessWidget {
ApiKeyWidget({super.key, required this.onSubmitted, required this.title});
final String title;
- final ValueChanged onSubmitted;
+ final ValueChanged onSubmitted;
final _textController = TextEditingController();
@override
diff --git a/form_app/analysis_options.yaml b/form_app/analysis_options.yaml
index 13d6fe105..5e2133eb6 100644
--- a/form_app/analysis_options.yaml
+++ b/form_app/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../analysis_options.yaml
diff --git a/form_app/ios/Runner/AppDelegate.swift b/form_app/ios/Runner/AppDelegate.swift
index 70693e4a8..c30b367ec 100644
--- a/form_app/ios/Runner/AppDelegate.swift
+++ b/form_app/ios/Runner/AppDelegate.swift
@@ -1,13 +1,16 @@
-import UIKit
import Flutter
+import UIKit
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
+@main
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/form_app/ios/Runner/Info.plist b/form_app/ios/Runner/Info.plist
index e374d3bf7..44f08d9c2 100644
--- a/form_app/ios/Runner/Info.plist
+++ b/form_app/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/google_maps/analysis_options.yaml b/google_maps/analysis_options.yaml
index eb3cb890b..1347e6dd8 100644
--- a/google_maps/analysis_options.yaml
+++ b/google_maps/analysis_options.yaml
@@ -1,5 +1,12 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../analysis_options.yaml
analyzer:
- exclude:
+ exclude:
- lib/src/*.g.dart
+ - build/**
+ - android/**
+ - ios/**
+ - web/**
+ - windows/**
+ - macos/**
+ - linux/**
diff --git a/google_maps/ios/Runner/AppDelegate.swift b/google_maps/ios/Runner/AppDelegate.swift
index 6861f5a96..31ef6679d 100644
--- a/google_maps/ios/Runner/AppDelegate.swift
+++ b/google_maps/ios/Runner/AppDelegate.swift
@@ -1,18 +1,20 @@
-import UIKit
import Flutter
import GoogleMaps
+import UIKit
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
+@main
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
-
// TODO: Add your Google Maps API key
GMSServices.provideAPIKey("YOUR-API-KEY")
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/google_maps/ios/Runner/Info.plist b/google_maps/ios/Runner/Info.plist
index 3d7ffa12c..38aa622b3 100644
--- a/google_maps/ios/Runner/Info.plist
+++ b/google_maps/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/ios_app_clip/analysis_options.yaml b/ios_app_clip/analysis_options.yaml
index 13d6fe105..5e2133eb6 100644
--- a/ios_app_clip/analysis_options.yaml
+++ b/ios_app_clip/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../analysis_options.yaml
diff --git a/ios_app_clip/ios/AppClip/Info.plist b/ios_app_clip/ios/AppClip/Info.plist
index 9d1cf2299..6c9cf1857 100644
--- a/ios_app_clip/ios/AppClip/Info.plist
+++ b/ios_app_clip/ios/AppClip/Info.plist
@@ -22,6 +22,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
NSAppClip
NSAppClipRequestEphemeralUserNotification
diff --git a/ios_app_clip/ios/Runner/AppDelegate.swift b/ios_app_clip/ios/Runner/AppDelegate.swift
index b63630348..c30b367ec 100644
--- a/ios_app_clip/ios/Runner/AppDelegate.swift
+++ b/ios_app_clip/ios/Runner/AppDelegate.swift
@@ -1,13 +1,16 @@
-import UIKit
import Flutter
+import UIKit
@main
-@objc class AppDelegate: FlutterAppDelegate {
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/ios_app_clip/ios/Runner/Info.plist b/ios_app_clip/ios/Runner/Info.plist
index 6ba20555e..5b591c710 100644
--- a/ios_app_clip/ios/Runner/Info.plist
+++ b/ios_app_clip/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UIApplicationSupportsIndirectInputEvents
UILaunchStoryboardName
diff --git a/material_3_demo/analysis_options.yaml b/material_3_demo/analysis_options.yaml
index 13d6fe105..5e2133eb6 100644
--- a/material_3_demo/analysis_options.yaml
+++ b/material_3_demo/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../analysis_options.yaml
diff --git a/material_3_demo/ios/Runner/AppDelegate.swift b/material_3_demo/ios/Runner/AppDelegate.swift
index 70693e4a8..c30b367ec 100644
--- a/material_3_demo/ios/Runner/AppDelegate.swift
+++ b/material_3_demo/ios/Runner/AppDelegate.swift
@@ -1,13 +1,16 @@
-import UIKit
import Flutter
+import UIKit
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
+@main
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/material_3_demo/ios/Runner/Info.plist b/material_3_demo/ios/Runner/Info.plist
index 45576eaa6..e10675a9f 100644
--- a/material_3_demo/ios/Runner/Info.plist
+++ b/material_3_demo/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/navigation_and_routing/analysis_options.yaml b/navigation_and_routing/analysis_options.yaml
index 13d6fe105..5e2133eb6 100644
--- a/navigation_and_routing/analysis_options.yaml
+++ b/navigation_and_routing/analysis_options.yaml
@@ -1 +1 @@
-include: package:analysis_defaults/flutter.yaml
+include: ../analysis_options.yaml
diff --git a/navigation_and_routing/ios/Runner/AppDelegate.swift b/navigation_and_routing/ios/Runner/AppDelegate.swift
index 70693e4a8..c30b367ec 100644
--- a/navigation_and_routing/ios/Runner/AppDelegate.swift
+++ b/navigation_and_routing/ios/Runner/AppDelegate.swift
@@ -1,13 +1,16 @@
-import UIKit
import Flutter
+import UIKit
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
+@main
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/navigation_and_routing/ios/Runner/Info.plist b/navigation_and_routing/ios/Runner/Info.plist
index 9a04f33d2..8fa2a4c56 100644
--- a/navigation_and_routing/ios/Runner/Info.plist
+++ b/navigation_and_routing/ios/Runner/Info.plist
@@ -24,6 +24,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/pedometer/analysis_options.yaml b/pedometer/analysis_options.yaml
index a5744c1cf..7887423db 100644
--- a/pedometer/analysis_options.yaml
+++ b/pedometer/analysis_options.yaml
@@ -1,4 +1,11 @@
-include: package:flutter_lints/flutter.yaml
+include: ../analysis_options.yaml
-# Additional information about this file can be found at
-# https://dart.dev/guides/language/analysis-options
+analyzer:
+ exclude:
+ - build/**
+ - android/**
+ - ios/**
+ - web/**
+ - windows/**
+ - macos/**
+ - linux/**
diff --git a/pedometer/example/analysis_options.yaml b/pedometer/example/analysis_options.yaml
index 61b6c4de1..f04c6cf0f 100644
--- a/pedometer/example/analysis_options.yaml
+++ b/pedometer/example/analysis_options.yaml
@@ -1,29 +1 @@
-# This file configures the analyzer, which statically analyzes Dart code to
-# check for errors, warnings, and lints.
-#
-# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
-# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
-# invoked from the command line by running `flutter analyze`.
-
-# The following line activates a set of recommended lints for Flutter apps,
-# packages, and plugins designed to encourage good coding practices.
-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.
- #
- # Instead of disabling a lint rule for the entire project in the
- # section below, it can also be suppressed for a single line of code
- # or a specific dart file by using the `// ignore: name_of_lint` and
- # `// ignore_for_file: name_of_lint` syntax on the line or in the file
- # producing the lint.
- rules:
- # 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
+include: ../../analysis_options.yaml
diff --git a/pedometer/example/ios/Runner/AppDelegate.swift b/pedometer/example/ios/Runner/AppDelegate.swift
index 70693e4a8..c30b367ec 100644
--- a/pedometer/example/ios/Runner/AppDelegate.swift
+++ b/pedometer/example/ios/Runner/AppDelegate.swift
@@ -1,13 +1,16 @@
-import UIKit
import Flutter
+import UIKit
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
+@main
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
}
diff --git a/pedometer/example/ios/Runner/Info.plist b/pedometer/example/ios/Runner/Info.plist
index 15dfe789c..94524e532 100644
--- a/pedometer/example/ios/Runner/Info.plist
+++ b/pedometer/example/ios/Runner/Info.plist
@@ -26,6 +26,27 @@
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ FlutterSceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
NSMotionUsageDescription
Live stream pedometer
UIApplicationSupportsIndirectInputEvents
diff --git a/pedometer/example/lib/main.dart b/pedometer/example/lib/main.dart
index 00ea267ee..6e184338c 100644
--- a/pedometer/example/lib/main.dart
+++ b/pedometer/example/lib/main.dart
@@ -54,7 +54,7 @@ class _HomeState extends State {
super.initState();
}
- void runPedometer() async {
+ Future runPedometer() async {
final now = DateTime.now();
hourlySteps = await StepsRepo.instance.getSteps();
lastUpdated = now;
diff --git a/pedometer/example/lib/steps_repo.dart b/pedometer/example/lib/steps_repo.dart
index bd8db966a..fcbaa8ace 100644
--- a/pedometer/example/lib/steps_repo.dart
+++ b/pedometer/example/lib/steps_repo.dart
@@ -90,7 +90,7 @@ class _IOSStepsRepo implements StepsRepo {
return [];
}
- final handlers = [];
+ final handlers = [];
final futures = >[];
final now = DateTime.now();
@@ -102,8 +102,8 @@ class _IOSStepsRepo implements StepsRepo {
final handler = helpLib.wrapCallback(
pd.ObjCBlock_ffiVoid_CMPedometerData_NSError.listener(lib, (
- pd.CMPedometerData? result,
- pd.NSError? error,
+ result,
+ error,
) {
if (result != null) {
final stepCount = result.numberOfSteps.intValue;
diff --git a/pedometer/lib/health_connect.dart b/pedometer/lib/health_connect.dart
index 653e0d0b5..6e91e6bc9 100644
--- a/pedometer/lib/health_connect.dart
+++ b/pedometer/lib/health_connect.dart
@@ -254,7 +254,8 @@ final class $HealthConnectClient$Companion$NullableType
@core$_.override
bool operator ==(Object other) {
- return other.runtimeType == ($HealthConnectClient$Companion$NullableType) &&
+ return other.runtimeType ==
+ ($HealthConnectClient$Companion$NullableType) &&
other is $HealthConnectClient$Companion$NullableType;
}
}
@@ -406,7 +407,9 @@ class HealthConnectClient extends jni$_.JObject {
jni$_.JList list,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$list = list.reference;
_insertRecords(
reference.pointer,
@@ -459,7 +462,9 @@ class HealthConnectClient extends jni$_.JObject {
jni$_.JList list,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$list = list.reference;
_updateRecords(
reference.pointer,
@@ -521,7 +526,9 @@ class HealthConnectClient extends jni$_.JObject {
jni$_.JList list1,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$kClass = kClass.reference;
final _$list = list.reference;
final _$list1 = list1.reference;
@@ -584,7 +591,9 @@ class HealthConnectClient extends jni$_.JObject {
TimeRangeFilter timeRangeFilter,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$kClass = kClass.reference;
final _$timeRangeFilter = timeRangeFilter.reference;
_deleteRecords$1(
@@ -646,7 +655,9 @@ class HealthConnectClient extends jni$_.JObject {
required jni$_.JObjType<$T> T,
}) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$kClass = kClass.reference;
final _$string = string.reference;
_readRecord(
@@ -709,7 +720,9 @@ class HealthConnectClient extends jni$_.JObject {
])
as jni$_.JObjType<$T>;
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$readRecordsRequest = readRecordsRequest.reference;
_readRecords(
reference.pointer,
@@ -762,7 +775,9 @@ class HealthConnectClient extends jni$_.JObject {
AggregateRequest aggregateRequest,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$aggregateRequest = aggregateRequest.reference;
_aggregate(
reference.pointer,
@@ -815,7 +830,9 @@ class HealthConnectClient extends jni$_.JObject {
AggregateGroupByDurationRequest aggregateGroupByDurationRequest,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$aggregateGroupByDurationRequest =
aggregateGroupByDurationRequest.reference;
_aggregateGroupByDuration(
@@ -873,7 +890,9 @@ class HealthConnectClient extends jni$_.JObject {
AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$aggregateGroupByPeriodRequest =
aggregateGroupByPeriodRequest.reference;
_aggregateGroupByPeriod(
@@ -931,7 +950,9 @@ class HealthConnectClient extends jni$_.JObject {
ChangesTokenRequest changesTokenRequest,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$changesTokenRequest = changesTokenRequest.reference;
_getChangesToken(
reference.pointer,
@@ -990,7 +1011,9 @@ class HealthConnectClient extends jni$_.JObject {
jni$_.JObject iterable,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$string = string.reference;
final _$iterable = iterable.reference;
_registerForDataNotifications(
@@ -1045,7 +1068,9 @@ class HealthConnectClient extends jni$_.JObject {
jni$_.JString string,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$string = string.reference;
_unregisterFromDataNotifications(
reference.pointer,
@@ -1096,7 +1121,9 @@ class HealthConnectClient extends jni$_.JObject {
/// The returned object must be released after use, by calling the [release] method.
core$_.Future getChanges(jni$_.JString string) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$string = string.reference;
_getChanges(
reference.pointer,
@@ -1273,13 +1300,21 @@ class HealthConnectClient extends jni$_.JObject {
) {
return _$invokeMethod(
port,
- jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address),
+ jni$_.MethodInvocation.fromAddresses(
+ 0,
+ descriptor.address,
+ args.address,
+ ),
);
}
static final jni$_.Pointer<
jni$_.NativeFunction<
- jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)
+ jni$_.JObjectPtr Function(
+ jni$_.Int64,
+ jni$_.JObjectPtr,
+ jni$_.JObjectPtr,
+ )
>
>
_$invokePointer = jni$_.Pointer.fromFunction(_$invoke);
@@ -1872,9 +1907,15 @@ final class _$HealthConnectClient with $HealthConnectClient {
jni$_.JObject continuation,
)
_registerForDataNotifications;
- final jni$_.JObject Function(jni$_.JString string, jni$_.JObject continuation)
+ final jni$_.JObject Function(
+ jni$_.JString string,
+ jni$_.JObject continuation,
+ )
_unregisterFromDataNotifications;
- final jni$_.JObject Function(jni$_.JString string, jni$_.JObject continuation)
+ final jni$_.JObject Function(
+ jni$_.JString string,
+ jni$_.JObject continuation,
+ )
_getChanges;
final bool Function(Context context, jni$_.JList list)
_isAvailable;
@@ -1957,7 +1998,10 @@ final class _$HealthConnectClient with $HealthConnectClient {
AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest,
jni$_.JObject continuation,
) {
- return _aggregateGroupByPeriod(aggregateGroupByPeriodRequest, continuation);
+ return _aggregateGroupByPeriod(
+ aggregateGroupByPeriodRequest,
+ continuation,
+ );
}
jni$_.JObject getChangesToken(
@@ -2299,7 +2343,9 @@ class PermissionController extends jni$_.JObject {
jni$_.JSet set,
) async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
final _$set = set.reference;
_getGrantedPermissions(
reference.pointer,
@@ -2351,7 +2397,9 @@ class PermissionController extends jni$_.JObject {
/// The returned object must be released after use, by calling the [release] method.
core$_.Future revokeAllPermissions() async {
final $p = jni$_.ReceivePort();
- final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p);
+ final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation(
+ $p,
+ );
_revokeAllPermissions(
reference.pointer,
@@ -2447,13 +2495,21 @@ class PermissionController extends jni$_.JObject {
) {
return _$invokeMethod(
port,
- jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address),
+ jni$_.MethodInvocation.fromAddresses(
+ 0,
+ descriptor.address,
+ args.address,
+ ),
);
}
static final jni$_.Pointer<
jni$_.NativeFunction<
- jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)
+ jni$_.JObjectPtr Function(
+ jni$_.Int64,
+ jni$_.JObjectPtr,
+ jni$_.JObjectPtr,
+ )
>
>
_$invokePointer = jni$_.Pointer.fromFunction(_$invoke);
@@ -4391,7 +4447,10 @@ class Context extends jni$_.JObject {
/// from: `static public final java.lang.String CARRIER_CONFIG_SERVICE`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get CARRIER_CONFIG_SERVICE =>
- _id_CARRIER_CONFIG_SERVICE.get(_class, const jni$_.JStringNullableType());
+ _id_CARRIER_CONFIG_SERVICE.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_CLIPBOARD_SERVICE = _class.staticFieldId(
r'CLIPBOARD_SERVICE',
@@ -4551,7 +4610,10 @@ class Context extends jni$_.JObject {
/// from: `static public final java.lang.String FILE_INTEGRITY_SERVICE`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get FILE_INTEGRITY_SERVICE =>
- _id_FILE_INTEGRITY_SERVICE.get(_class, const jni$_.JStringNullableType());
+ _id_FILE_INTEGRITY_SERVICE.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_FINGERPRINT_SERVICE = _class.staticFieldId(
r'FINGERPRINT_SERVICE',
@@ -5109,7 +5171,10 @@ class Context extends jni$_.JObject {
/// from: `static public final java.lang.String VPN_MANAGEMENT_SERVICE`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get VPN_MANAGEMENT_SERVICE =>
- _id_VPN_MANAGEMENT_SERVICE.get(_class, const jni$_.JStringNullableType());
+ _id_VPN_MANAGEMENT_SERVICE.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_WALLPAPER_SERVICE = _class.staticFieldId(
r'WALLPAPER_SERVICE',
@@ -5671,7 +5736,11 @@ class Context extends jni$_.JObject {
/// from: `public abstract void setTheme(int i)`
void setTheme(int i) {
- _setTheme(reference.pointer, _id_setTheme as jni$_.JMethodIDPtr, i).check();
+ _setTheme(
+ reference.pointer,
+ _id_setTheme as jni$_.JMethodIDPtr,
+ i,
+ ).check();
}
static final _id_getTheme = _class.instanceMethodId(
@@ -9324,7 +9393,10 @@ class Context extends jni$_.JObject {
>();
/// from: `public abstract void enforceCallingPermission(java.lang.String string, java.lang.String string1)`
- void enforceCallingPermission(jni$_.JString? string, jni$_.JString? string1) {
+ void enforceCallingPermission(
+ jni$_.JString? string,
+ jni$_.JString? string1,
+ ) {
final _$string = string?.reference ?? jni$_.jNullReference;
final _$string1 = string1?.reference ?? jni$_.jNullReference;
_enforceCallingPermission(
@@ -9487,7 +9559,11 @@ class Context extends jni$_.JObject {
>();
/// from: `public abstract void revokeUriPermission(java.lang.String string, android.net.Uri uri, int i)`
- void revokeUriPermission$1(jni$_.JString? string, jni$_.JObject? uri, int i) {
+ void revokeUriPermission$1(
+ jni$_.JString? string,
+ jni$_.JObject? uri,
+ int i,
+ ) {
final _$string = string?.reference ?? jni$_.jNullReference;
final _$uri = uri?.reference ?? jni$_.jNullReference;
_revokeUriPermission$1(
@@ -10891,7 +10967,10 @@ class Intent$ShortcutIconResource extends jni$_.JObject {
/// The returned object must be released after use, by calling the [release] method.
factory Intent$ShortcutIconResource() {
return Intent$ShortcutIconResource.fromReference(
- _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr).reference,
+ _new$(
+ _class.reference.pointer,
+ _id_new$ as jni$_.JMethodIDPtr,
+ ).reference,
);
}
@@ -11241,7 +11320,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_BATTERY_CHANGED`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_BATTERY_CHANGED =>
- _id_ACTION_BATTERY_CHANGED.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_BATTERY_CHANGED.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_BATTERY_LOW = _class.staticFieldId(
r'ACTION_BATTERY_LOW',
@@ -11367,7 +11449,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_CREATE_DOCUMENT`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_CREATE_DOCUMENT =>
- _id_ACTION_CREATE_DOCUMENT.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_CREATE_DOCUMENT.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_CREATE_REMINDER = _class.staticFieldId(
r'ACTION_CREATE_REMINDER',
@@ -11377,7 +11462,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_CREATE_REMINDER`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_CREATE_REMINDER =>
- _id_ACTION_CREATE_REMINDER.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_CREATE_REMINDER.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_CREATE_SHORTCUT = _class.staticFieldId(
r'ACTION_CREATE_SHORTCUT',
@@ -11387,7 +11475,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_CREATE_SHORTCUT`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_CREATE_SHORTCUT =>
- _id_ACTION_CREATE_SHORTCUT.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_CREATE_SHORTCUT.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_DATE_CHANGED = _class.staticFieldId(
r'ACTION_DATE_CHANGED',
@@ -11649,7 +11740,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_INSTALL_FAILURE`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_INSTALL_FAILURE =>
- _id_ACTION_INSTALL_FAILURE.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_INSTALL_FAILURE.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_INSTALL_PACKAGE = _class.staticFieldId(
r'ACTION_INSTALL_PACKAGE',
@@ -11659,7 +11753,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_INSTALL_PACKAGE`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_INSTALL_PACKAGE =>
- _id_ACTION_INSTALL_PACKAGE.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_INSTALL_PACKAGE.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_LOCALE_CHANGED = _class.staticFieldId(
r'ACTION_LOCALE_CHANGED',
@@ -11941,7 +12038,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_MEDIA_UNMOUNTED`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_MEDIA_UNMOUNTED =>
- _id_ACTION_MEDIA_UNMOUNTED.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_MEDIA_UNMOUNTED.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_MY_PACKAGE_REPLACED = _class.staticFieldId(
r'ACTION_MY_PACKAGE_REPLACED',
@@ -12062,7 +12162,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_PACKAGE_CHANGED`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_PACKAGE_CHANGED =>
- _id_ACTION_PACKAGE_CHANGED.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_PACKAGE_CHANGED.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_PACKAGE_DATA_CLEARED = _class.staticFieldId(
r'ACTION_PACKAGE_DATA_CLEARED',
@@ -12111,7 +12214,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_PACKAGE_INSTALL`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_PACKAGE_INSTALL =>
- _id_ACTION_PACKAGE_INSTALL.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_PACKAGE_INSTALL.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_PACKAGE_NEEDS_VERIFICATION = _class.staticFieldId(
r'ACTION_PACKAGE_NEEDS_VERIFICATION',
@@ -12134,7 +12240,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_PACKAGE_REMOVED`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_PACKAGE_REMOVED =>
- _id_ACTION_PACKAGE_REMOVED.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_PACKAGE_REMOVED.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_PACKAGE_REPLACED = _class.staticFieldId(
r'ACTION_PACKAGE_REPLACED',
@@ -12213,7 +12322,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_POWER_CONNECTED`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_POWER_CONNECTED =>
- _id_ACTION_POWER_CONNECTED.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_POWER_CONNECTED.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_POWER_DISCONNECTED = _class.staticFieldId(
r'ACTION_POWER_DISCONNECTED',
@@ -12471,7 +12583,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_SYSTEM_TUTORIAL`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_SYSTEM_TUTORIAL =>
- _id_ACTION_SYSTEM_TUTORIAL.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_SYSTEM_TUTORIAL.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_TIMEZONE_CHANGED = _class.staticFieldId(
r'ACTION_TIMEZONE_CHANGED',
@@ -12570,7 +12685,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_USER_BACKGROUND`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_USER_BACKGROUND =>
- _id_ACTION_USER_BACKGROUND.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_USER_BACKGROUND.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_USER_FOREGROUND = _class.staticFieldId(
r'ACTION_USER_FOREGROUND',
@@ -12580,7 +12698,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_USER_FOREGROUND`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_USER_FOREGROUND =>
- _id_ACTION_USER_FOREGROUND.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_USER_FOREGROUND.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_USER_INITIALIZE = _class.staticFieldId(
r'ACTION_USER_INITIALIZE',
@@ -12590,7 +12711,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String ACTION_USER_INITIALIZE`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get ACTION_USER_INITIALIZE =>
- _id_ACTION_USER_INITIALIZE.get(_class, const jni$_.JStringNullableType());
+ _id_ACTION_USER_INITIALIZE.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_ACTION_USER_PRESENT = _class.staticFieldId(
r'ACTION_USER_PRESENT',
@@ -12827,7 +12951,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String CATEGORY_APP_MESSAGING`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get CATEGORY_APP_MESSAGING =>
- _id_CATEGORY_APP_MESSAGING.get(_class, const jni$_.JStringNullableType());
+ _id_CATEGORY_APP_MESSAGING.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_CATEGORY_APP_MUSIC = _class.staticFieldId(
r'CATEGORY_APP_MUSIC',
@@ -13245,7 +13372,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String EXTRA_ATTRIBUTION_TAGS`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get EXTRA_ATTRIBUTION_TAGS =>
- _id_EXTRA_ATTRIBUTION_TAGS.get(_class, const jni$_.JStringNullableType());
+ _id_EXTRA_ATTRIBUTION_TAGS.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_EXTRA_AUTO_LAUNCH_SINGLE_CHOICE = _class.staticFieldId(
r'EXTRA_AUTO_LAUNCH_SINGLE_CHOICE',
@@ -13337,7 +13467,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String EXTRA_CHANGED_UID_LIST`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get EXTRA_CHANGED_UID_LIST =>
- _id_EXTRA_CHANGED_UID_LIST.get(_class, const jni$_.JStringNullableType());
+ _id_EXTRA_CHANGED_UID_LIST.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER = _class
.staticFieldId(
@@ -13371,7 +13504,10 @@ class Intent extends jni$_.JObject {
/// from: `static public final java.lang.String EXTRA_CHOSEN_COMPONENT`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JString? get EXTRA_CHOSEN_COMPONENT =>
- _id_EXTRA_CHOSEN_COMPONENT.get(_class, const jni$_.JStringNullableType());
+ _id_EXTRA_CHOSEN_COMPONENT.get(
+ _class,
+ const jni$_.JStringNullableType(),
+ );
static final _id_EXTRA_CHOSEN_COMPONENT_INTENT_SENDER = _class.staticFieldId(
r'EXTRA_CHOSEN_COMPONENT_INTENT_SENDER',
@@ -14212,11 +14348,16 @@ class Intent extends jni$_.JObject {
/// The returned object must be released after use, by calling the [release] method.
factory Intent() {
return Intent.fromReference(
- _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr).reference,
+ _new$(
+ _class.reference.pointer,
+ _id_new$ as jni$_.JMethodIDPtr,
+ ).reference,
);
}
- static final _id_new$1 = _class.constructorId(r'(Landroid/content/Intent;)V');
+ static final _id_new$1 = _class.constructorId(
+ r'(Landroid/content/Intent;)V',
+ );
static final _new$1 =
jni$_.ProtectedJniExtensions.lookup<
@@ -15126,7 +15267,9 @@ class Intent extends jni$_.JObject {
reference.pointer,
_id_getCategories as jni$_.JMethodIDPtr,
).object?>(
- const jni$_.JSetNullableType(jni$_.JStringNullableType()),
+ const jni$_.JSetNullableType(
+ jni$_.JStringNullableType(),
+ ),
);
}
@@ -15738,7 +15881,9 @@ class Intent extends jni$_.JObject {
/// from: `public android.os.Parcelable[] getParcelableArrayExtra(java.lang.String string)`
/// The returned object must be released after use, by calling the [release] method.
- jni$_.JArray? getParcelableArrayExtra(jni$_.JString? string) {
+ jni$_.JArray? getParcelableArrayExtra(
+ jni$_.JString? string,
+ ) {
final _$string = string?.reference ?? jni$_.jNullReference;
return _getParcelableArrayExtra(
reference.pointer,
@@ -15791,7 +15936,9 @@ class Intent extends jni$_.JObject {
_id_getParcelableArrayExtra$1 as jni$_.JMethodIDPtr,
_$string.pointer,
_$class$.pointer,
- ).object?>(jni$_.JArrayNullableType<$T?>(T.nullableType));
+ ).object?>(
+ jni$_.JArrayNullableType<$T?>(T.nullableType),
+ );
}
static final _id_getParcelableArrayListExtra = _class.instanceMethodId(
@@ -19146,7 +19293,10 @@ class Activity extends jni$_.JObject {
/// The returned object must be released after use, by calling the [release] method.
factory Activity() {
return Activity.fromReference(
- _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr).reference,
+ _new$(
+ _class.reference.pointer,
+ _id_new$ as jni$_.JMethodIDPtr,
+ ).reference,
);
}
@@ -19457,10 +19607,11 @@ class Activity extends jni$_.JObject {
).object(const jni$_.JObjectNullableType());
}
- static final _id_registerActivityLifecycleCallbacks = _class.instanceMethodId(
- r'registerActivityLifecycleCallbacks',
- r'(Landroid/app/Application$ActivityLifecycleCallbacks;)V',
- );
+ static final _id_registerActivityLifecycleCallbacks = _class
+ .instanceMethodId(
+ r'registerActivityLifecycleCallbacks',
+ r'(Landroid/app/Application$ActivityLifecycleCallbacks;)V',
+ );
static final _registerActivityLifecycleCallbacks =
jni$_.ProtectedJniExtensions.lookup<
@@ -22419,10 +22570,11 @@ class Activity extends jni$_.JObject {
).boolean;
}
- static final _id_dispatchPopulateAccessibilityEvent = _class.instanceMethodId(
- r'dispatchPopulateAccessibilityEvent',
- r'(Landroid/view/accessibility/AccessibilityEvent;)Z',
- );
+ static final _id_dispatchPopulateAccessibilityEvent = _class
+ .instanceMethodId(
+ r'dispatchPopulateAccessibilityEvent',
+ r'(Landroid/view/accessibility/AccessibilityEvent;)Z',
+ );
static final _dispatchPopulateAccessibilityEvent =
jni$_.ProtectedJniExtensions.lookup<
@@ -23263,7 +23415,10 @@ class Activity extends jni$_.JObject {
).check();
}
- static final _id_showDialog = _class.instanceMethodId(r'showDialog', r'(I)V');
+ static final _id_showDialog = _class.instanceMethodId(
+ r'showDialog',
+ r'(I)V',
+ );
static final _showDialog =
jni$_.ProtectedJniExtensions.lookup<
@@ -23857,7 +24012,11 @@ class Activity extends jni$_.JObject {
/// from: `public void setTheme(int i)`
void setTheme(int i) {
- _setTheme(reference.pointer, _id_setTheme as jni$_.JMethodIDPtr, i).check();
+ _setTheme(
+ reference.pointer,
+ _id_setTheme as jni$_.JMethodIDPtr,
+ i,
+ ).check();
}
static final _id_requestPermissions = _class.instanceMethodId(
@@ -25209,7 +25368,10 @@ class Activity extends jni$_.JObject {
).object(const jni$_.JObjectNullableType());
}
- static final _id_setVisible = _class.instanceMethodId(r'setVisible', r'(Z)V');
+ static final _id_setVisible = _class.instanceMethodId(
+ r'setVisible',
+ r'(Z)V',
+ );
static final _setVisible =
jni$_.ProtectedJniExtensions.lookup<
@@ -27686,13 +27848,15 @@ class Instant extends jni$_.JObject {
/// from: `static public final java.time.Instant MAX`
/// The returned object must be released after use, by calling the [release] method.
- static Instant? get MAX => _id_MAX.get(_class, const $Instant$NullableType());
+ static Instant? get MAX =>
+ _id_MAX.get(_class, const $Instant$NullableType());
static final _id_MIN = _class.staticFieldId(r'MIN', r'Ljava/time/Instant;');
/// from: `static public final java.time.Instant MIN`
/// The returned object must be released after use, by calling the [release] method.
- static Instant? get MIN => _id_MIN.get(_class, const $Instant$NullableType());
+ static Instant? get MIN =>
+ _id_MIN.get(_class, const $Instant$NullableType());
static final _id_now = _class.staticMethodId(
r'now',
@@ -29447,7 +29611,8 @@ final class $AggregateGroupByPeriodRequest$NullableType
@core$_.override
bool operator ==(Object other) {
- return other.runtimeType == ($AggregateGroupByPeriodRequest$NullableType) &&
+ return other.runtimeType ==
+ ($AggregateGroupByPeriodRequest$NullableType) &&
other is $AggregateGroupByPeriodRequest$NullableType;
}
}
@@ -30953,13 +31118,21 @@ class AggregateMetric$Converter$FromDouble<$R extends jni$_.JObject>
) {
return _$invokeMethod(
port,
- jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address),
+ jni$_.MethodInvocation.fromAddresses(
+ 0,
+ descriptor.address,
+ args.address,
+ ),
);
}
static final jni$_.Pointer<
jni$_.NativeFunction<
- jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)
+ jni$_.JObjectPtr Function(
+ jni$_.Int64,
+ jni$_.JObjectPtr,
+ jni$_.JObjectPtr,
+ )
>
>
_$invokePointer = jni$_.Pointer.fromFunction(_$invoke);
@@ -31080,7 +31253,9 @@ final class $AggregateMetric$Converter$FromDouble$NullableType<
}
}
-final class $AggregateMetric$Converter$FromDouble$Type<$R extends jni$_.JObject>
+final class $AggregateMetric$Converter$FromDouble$Type<
+ $R extends jni$_.JObject
+>
extends jni$_.JObjType> {
@jni$_.internal
final jni$_.JObjType<$R> R;
@@ -31166,13 +31341,21 @@ class AggregateMetric$Converter$FromLong<$R extends jni$_.JObject>
) {
return _$invokeMethod(
port,
- jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address),
+ jni$_.MethodInvocation.fromAddresses(
+ 0,
+ descriptor.address,
+ args.address,
+ ),
);
}
static final jni$_.Pointer<
jni$_.NativeFunction<
- jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)
+ jni$_.JObjectPtr Function(
+ jni$_.Int64,
+ jni$_.JObjectPtr,
+ jni$_.JObjectPtr,
+ )
>
>
_$invokePointer = jni$_.Pointer.fromFunction(_$invoke);
@@ -31230,8 +31413,9 @@ class AggregateMetric$Converter$FromLong<$R extends jni$_.JObject>
abstract base mixin class $AggregateMetric$Converter$FromLong<
$R extends jni$_.JObject
> {
- factory $AggregateMetric$Converter$FromLong({required jni$_.JObjType<$R> R}) =
- _$AggregateMetric$Converter$FromLong<$R>;
+ factory $AggregateMetric$Converter$FromLong({
+ required jni$_.JObjType<$R> R,
+ }) = _$AggregateMetric$Converter$FromLong<$R>;
jni$_.JObjType<$R> get R;
}
@@ -31387,13 +31571,21 @@ class AggregateMetric$Converter<
) {
return _$invokeMethod(
port,
- jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address),
+ jni$_.MethodInvocation.fromAddresses(
+ 0,
+ descriptor.address,
+ args.address,
+ ),
);
}
static final jni$_.Pointer<
jni$_.NativeFunction<
- jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)
+ jni$_.JObjectPtr Function(
+ jni$_.Int64,
+ jni$_.JObjectPtr,
+ jni$_.JObjectPtr,
+ )
>
>
_$invokePointer = jni$_.Pointer.fromFunction(_$invoke);
@@ -31549,8 +31741,9 @@ final class $AggregateMetric$Converter$Type<
@jni$_.internal
@core$_.override
- AggregateMetric$Converter<$T, $R> fromReference(jni$_.JReference reference) =>
- AggregateMetric$Converter<$T, $R>.fromReference(T, R, reference);
+ AggregateMetric$Converter<$T, $R> fromReference(
+ jni$_.JReference reference,
+ ) => AggregateMetric$Converter<$T, $R>.fromReference(T, R, reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@@ -31701,7 +31894,9 @@ final class $AggregateMetric$NullableType<$T extends jni$_.JObject>
@jni$_.internal
@core$_.override
AggregateMetric<$T>? fromReference(jni$_.JReference reference) =>
- reference.isNull ? null : AggregateMetric<$T>.fromReference(T, reference);
+ reference.isNull
+ ? null
+ : AggregateMetric<$T>.fromReference(T, reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectType();
diff --git a/pedometer/lib/pedometer_bindings_generated.dart b/pedometer/lib/pedometer_bindings_generated.dart
index 91c38f28a..c79501c0c 100644
--- a/pedometer/lib/pedometer_bindings_generated.dart
+++ b/pedometer/lib/pedometer_bindings_generated.dart
@@ -17,7 +17,8 @@ class PedometerBindings {
/// The symbols are looked up with [lookup].
PedometerBindings.fromLookup(
- ffi.Pointer Function(String symbolName) lookup,
+ ffi.Pointer Function(String symbolName)
+ lookup,
) : _lookup = lookup;
ffi.Pointer _registerName1(String name) {
@@ -33,7 +34,9 @@ class PedometerBindings {
late final __sel_registerNamePtr =
_lookup<
- ffi.NativeFunction Function(ffi.Pointer)>
+ ffi.NativeFunction<
+ ffi.Pointer Function(ffi.Pointer)
+ >
>('sel_registerName');
late final __sel_registerName = __sel_registerNamePtr
.asFunction Function(ffi.Pointer)>();
@@ -424,7 +427,10 @@ class PedometerBindings {
late final _sel_frameLength1 = _registerName1("frameLength");
late final _sel_isOneway1 = _registerName1("isOneway");
- bool _objc_msgSend_12(ffi.Pointer obj, ffi.Pointer sel) {
+ bool _objc_msgSend_12(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_12(obj, sel);
}
@@ -2592,9 +2598,10 @@ class PedometerBindings {
late final _objc_releaseFinalizer11 = ffi.NativeFinalizer(
__Block_releasePtr.cast(),
);
- late final _sel_setUserInfoValueProviderForDomain_provider_1 = _registerName1(
- "setUserInfoValueProviderForDomain:provider:",
- );
+ late final _sel_setUserInfoValueProviderForDomain_provider_1 =
+ _registerName1(
+ "setUserInfoValueProviderForDomain:provider:",
+ );
void _objc_msgSend_78(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -3073,9 +3080,10 @@ class PedometerBindings {
)
>();
- late final _sel_enumerateIndexesInRange_options_usingBlock_1 = _registerName1(
- "enumerateIndexesInRange:options:usingBlock:",
- );
+ late final _sel_enumerateIndexesInRange_options_usingBlock_1 =
+ _registerName1(
+ "enumerateIndexesInRange:options:usingBlock:",
+ );
void _objc_msgSend_93(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -3594,9 +3602,10 @@ class PedometerBindings {
)
>();
- late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = _registerName1(
- "indexOfObjectAtIndexes:options:passingTest:",
- );
+ late final _sel_indexOfObjectAtIndexes_options_passingTest_1 =
+ _registerName1(
+ "indexOfObjectAtIndexes:options:passingTest:",
+ );
int _objc_msgSend_109(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -4276,7 +4285,9 @@ class PedometerBindings {
>();
late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1 =
- _registerName1("removeObserver:fromObjectsAtIndexes:forKeyPath:context:");
+ _registerName1(
+ "removeObserver:fromObjectsAtIndexes:forKeyPath:context:",
+ );
void _objc_msgSend_129(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -5201,7 +5212,10 @@ class PedometerBindings {
>();
late final _sel_fileSize1 = _registerName1("fileSize");
- int _objc_msgSend_156(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_156(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_156(obj, sel);
}
@@ -5563,7 +5577,10 @@ class PedometerBindings {
);
late final _sel_fileExtensionHidden1 = _registerName1("fileExtensionHidden");
late final _sel_fileHFSCreatorCode1 = _registerName1("fileHFSCreatorCode");
- int _objc_msgSend_166(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_166(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_166(obj, sel);
}
@@ -6116,7 +6133,10 @@ class PedometerBindings {
"initWithUnsignedInteger:",
);
late final _sel_charValue1 = _registerName1("charValue");
- int _objc_msgSend_185(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_185(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_185(obj, sel);
}
@@ -6132,7 +6152,10 @@ class PedometerBindings {
>();
late final _sel_unsignedCharValue1 = _registerName1("unsignedCharValue");
- int _objc_msgSend_186(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_186(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_186(obj, sel);
}
@@ -6151,7 +6174,10 @@ class PedometerBindings {
>();
late final _sel_shortValue1 = _registerName1("shortValue");
- int _objc_msgSend_187(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_187(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_187(obj, sel);
}
@@ -6167,7 +6193,10 @@ class PedometerBindings {
>();
late final _sel_unsignedShortValue1 = _registerName1("unsignedShortValue");
- int _objc_msgSend_188(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_188(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_188(obj, sel);
}
@@ -6186,7 +6215,10 @@ class PedometerBindings {
>();
late final _sel_intValue1 = _registerName1("intValue");
- int _objc_msgSend_189(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_189(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_189(obj, sel);
}
@@ -6205,7 +6237,10 @@ class PedometerBindings {
late final _sel_longValue1 = _registerName1("longValue");
late final _sel_unsignedLongValue1 = _registerName1("unsignedLongValue");
late final _sel_longLongValue1 = _registerName1("longLongValue");
- int _objc_msgSend_190(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_190(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_190(obj, sel);
}
@@ -6780,9 +6815,10 @@ class PedometerBindings {
)
>();
- late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = _registerName1(
- "URLByResolvingAliasFileAtURL:options:error:",
- );
+ late final _sel_URLByResolvingAliasFileAtURL_options_error_1 =
+ _registerName1(
+ "URLByResolvingAliasFileAtURL:options:error:",
+ );
instancetype _objc_msgSend_205(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -6858,9 +6894,10 @@ class PedometerBindings {
)
>();
- late final _sel_checkPromisedItemIsReachableAndReturnError_1 = _registerName1(
- "checkPromisedItemIsReachableAndReturnError:",
- );
+ late final _sel_checkPromisedItemIsReachableAndReturnError_1 =
+ _registerName1(
+ "checkPromisedItemIsReachableAndReturnError:",
+ );
bool _objc_msgSend_207(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -7032,9 +7069,10 @@ class PedometerBindings {
)
>();
- late final _sel_loadResourceDataNotifyingClient_usingCache_1 = _registerName1(
- "loadResourceDataNotifyingClient:usingCache:",
- );
+ late final _sel_loadResourceDataNotifyingClient_usingCache_1 =
+ _registerName1(
+ "loadResourceDataNotifyingClient:usingCache:",
+ );
void _objc_msgSend_212(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -8788,9 +8826,10 @@ class PedometerBindings {
)
>();
- late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = _registerName1(
- "decodeTopLevelObjectOfClasses:forKey:error:",
- );
+ late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 =
+ _registerName1(
+ "decodeTopLevelObjectOfClasses:forKey:error:",
+ );
ffi.Pointer _objc_msgSend_262(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -8953,7 +8992,10 @@ class PedometerBindings {
late final _sel_decodingFailurePolicy1 = _registerName1(
"decodingFailurePolicy",
);
- int _objc_msgSend_267(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_267(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_267(obj, sel);
}
@@ -9156,7 +9198,13 @@ class PedometerBindings {
int mask,
_NSRange rangeOfReceiverToCompare,
) {
- return __objc_msgSend_274(obj, sel, string, mask, rangeOfReceiverToCompare);
+ return __objc_msgSend_274(
+ obj,
+ sel,
+ string,
+ mask,
+ rangeOfReceiverToCompare,
+ );
}
late final __objc_msgSend_274Ptr =
@@ -10665,9 +10713,10 @@ class PedometerBindings {
>();
late final _sel_lineRangeForRange_1 = _registerName1("lineRangeForRange:");
- late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = _registerName1(
- "getParagraphStart:end:contentsEnd:forRange:",
- );
+ late final _sel_getParagraphStart_end_contentsEnd_forRange_1 =
+ _registerName1(
+ "getParagraphStart:end:contentsEnd:forRange:",
+ );
late final _sel_paragraphRangeForRange_1 = _registerName1(
"paragraphRangeForRange:",
);
@@ -12096,9 +12145,10 @@ class PedometerBindings {
)
>();
- late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = _registerName1(
- "stringWithContentsOfURL:usedEncoding:error:",
- );
+ late final _sel_stringWithContentsOfURL_usedEncoding_error_1 =
+ _registerName1(
+ "stringWithContentsOfURL:usedEncoding:error:",
+ );
late final _sel_stringWithContentsOfFile_usedEncoding_error_1 =
_registerName1("stringWithContentsOfFile:usedEncoding:error:");
late final _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1 =
@@ -13881,7 +13931,9 @@ class PedometerBindings {
>();
late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1 =
- _registerName1("getRelationship:ofDirectory:inDomain:toItemAtURL:error:");
+ _registerName1(
+ "getRelationship:ofDirectory:inDomain:toItemAtURL:error:",
+ );
bool _objc_msgSend_394(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -15395,9 +15447,10 @@ class PedometerBindings {
)
>();
- late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = _registerName1(
- "replaceObjectsInRange:withObjectsFromArray:",
- );
+ late final _sel_replaceObjectsInRange_withObjectsFromArray_1 =
+ _registerName1(
+ "replaceObjectsInRange:withObjectsFromArray:",
+ );
void _objc_msgSend_435(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -16675,7 +16728,9 @@ class PedometerBindings {
"initRequiringSecureCoding:",
);
late final _sel_archivedDataWithRootObject_requiringSecureCoding_error_1 =
- _registerName1("archivedDataWithRootObject:requiringSecureCoding:error:");
+ _registerName1(
+ "archivedDataWithRootObject:requiringSecureCoding:error:",
+ );
ffi.Pointer _objc_msgSend_471(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -16945,7 +17000,10 @@ class PedometerBindings {
"archiveRootObject:toFile:",
);
late final _sel_outputFormat1 = _registerName1("outputFormat");
- int _objc_msgSend_479(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_479(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_479(obj, sel);
}
@@ -17536,7 +17594,10 @@ class PedometerBindings {
>();
late final _sel_qualityOfService1 = _registerName1("qualityOfService");
- int _objc_msgSend_499(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_499(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_499(obj, sel);
}
@@ -17995,7 +18056,10 @@ class PedometerBindings {
>();
late final _sel_totalUnitCount1 = _registerName1("totalUnitCount");
- int _objc_msgSend_513(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_513(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_513(obj, sel);
}
@@ -19325,7 +19389,9 @@ class PedometerBindings {
>();
late final _sel_URLForResource_withExtension_subdirectory_localization_1 =
- _registerName1("URLForResource:withExtension:subdirectory:localization:");
+ _registerName1(
+ "URLForResource:withExtension:subdirectory:localization:",
+ );
ffi.Pointer _objc_msgSend_550(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -19362,9 +19428,10 @@ class PedometerBindings {
)
>();
- late final _sel_URLsForResourcesWithExtension_subdirectory_1 = _registerName1(
- "URLsForResourcesWithExtension:subdirectory:",
- );
+ late final _sel_URLsForResourcesWithExtension_subdirectory_1 =
+ _registerName1(
+ "URLsForResourcesWithExtension:subdirectory:",
+ );
ffi.Pointer _objc_msgSend_551(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -19999,7 +20066,10 @@ class PedometerBindings {
"setAllowsExtendedAttributes:",
);
late final _sel_interpretedSyntax1 = _registerName1("interpretedSyntax");
- int _objc_msgSend_569(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_569(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_569(obj, sel);
}
@@ -20041,7 +20111,10 @@ class PedometerBindings {
>();
late final _sel_failurePolicy1 = _registerName1("failurePolicy");
- int _objc_msgSend_571(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_571(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_571(obj, sel);
}
@@ -20999,7 +21072,9 @@ class PedometerBindings {
>();
late final _sel_isPartialStringValid_newEditingString_errorDescription_1 =
- _registerName1("isPartialStringValid:newEditingString:errorDescription:");
+ _registerName1(
+ "isPartialStringValid:newEditingString:errorDescription:",
+ );
bool _objc_msgSend_598(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -21085,7 +21160,10 @@ class PedometerBindings {
>();
late final _sel_formattingContext1 = _registerName1("formattingContext");
- int _objc_msgSend_600(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_600(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_600(obj, sel);
}
@@ -21295,7 +21373,10 @@ class PedometerBindings {
late final _sel_defaultFormatterBehavior1 = _registerName1(
"defaultFormatterBehavior",
);
- int _objc_msgSend_607(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_607(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_607(obj, sel);
}
@@ -21342,7 +21423,10 @@ class PedometerBindings {
late final _sel_dateFormat1 = _registerName1("dateFormat");
late final _sel_setDateFormat_1 = _registerName1("setDateFormat:");
late final _sel_dateStyle1 = _registerName1("dateStyle");
- int _objc_msgSend_609(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_609(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_609(obj, sel);
}
@@ -22874,7 +22958,9 @@ class PedometerBindings {
>();
late final _sel_components_fromDateComponents_toDateComponents_options_1 =
- _registerName1("components:fromDateComponents:toDateComponents:options:");
+ _registerName1(
+ "components:fromDateComponents:toDateComponents:options:",
+ );
ffi.Pointer _objc_msgSend_651(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -23437,7 +23523,10 @@ class PedometerBindings {
)
>();
- int _objc_msgSend_665(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_665(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_665(obj, sel);
}
@@ -23476,7 +23565,10 @@ class PedometerBindings {
>();
late final _sel_numberStyle1 = _registerName1("numberStyle");
- int _objc_msgSend_667(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_667(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_667(obj, sel);
}
@@ -23706,7 +23798,10 @@ class PedometerBindings {
"setPaddingCharacter:",
);
late final _sel_paddingPosition1 = _registerName1("paddingPosition");
- int _objc_msgSend_671(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_671(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_671(obj, sel);
}
@@ -23746,7 +23841,10 @@ class PedometerBindings {
>();
late final _sel_roundingMode1 = _registerName1("roundingMode");
- int _objc_msgSend_673(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_673(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_673(obj, sel);
}
@@ -24680,7 +24778,9 @@ class PedometerBindings {
late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 =
_registerName1("scheduledTimerWithTimeInterval:invocation:repeats:");
late final _sel_timerWithTimeInterval_target_selector_userInfo_repeats_1 =
- _registerName1("timerWithTimeInterval:target:selector:userInfo:repeats:");
+ _registerName1(
+ "timerWithTimeInterval:target:selector:userInfo:repeats:",
+ );
ffi.Pointer _objc_msgSend_700(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -26019,7 +26119,10 @@ class PedometerBindings {
>();
late final _sel_cookieAcceptPolicy1 = _registerName1("cookieAcceptPolicy");
- int _objc_msgSend_737(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_737(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_737(obj, sel);
}
@@ -26097,9 +26200,10 @@ class PedometerBindings {
late final _sel_supportsSecureCoding1 = _registerName1(
"supportsSecureCoding",
);
- late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = _registerName1(
- "requestWithURL:cachePolicy:timeoutInterval:",
- );
+ late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 =
+ _registerName1(
+ "requestWithURL:cachePolicy:timeoutInterval:",
+ );
instancetype _objc_msgSend_740(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -26138,7 +26242,10 @@ class PedometerBindings {
);
late final _sel_URL1 = _registerName1("URL");
late final _sel_cachePolicy1 = _registerName1("cachePolicy");
- int _objc_msgSend_741(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_741(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_741(obj, sel);
}
@@ -26156,7 +26263,10 @@ class PedometerBindings {
late final _sel_timeoutInterval1 = _registerName1("timeoutInterval");
late final _sel_mainDocumentURL1 = _registerName1("mainDocumentURL");
late final _sel_networkServiceType1 = _registerName1("networkServiceType");
- int _objc_msgSend_742(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_742(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_742(obj, sel);
}
@@ -26182,7 +26292,10 @@ class PedometerBindings {
);
late final _sel_assumesHTTP3Capable1 = _registerName1("assumesHTTP3Capable");
late final _sel_attribution1 = _registerName1("attribution");
- int _objc_msgSend_743(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_743(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_743(obj, sel);
}
@@ -26241,7 +26354,10 @@ class PedometerBindings {
>();
late final _sel_streamStatus1 = _registerName1("streamStatus");
- int _objc_msgSend_745(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_745(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_745(obj, sel);
}
@@ -26371,7 +26487,9 @@ class PedometerBindings {
"outputStreamWithURL:append:",
);
late final _sel_getStreamsToHostWithName_port_inputStream_outputStream_1 =
- _registerName1("getStreamsToHostWithName:port:inputStream:outputStream:");
+ _registerName1(
+ "getStreamsToHostWithName:port:inputStream:outputStream:",
+ );
void _objc_msgSend_749(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -26455,7 +26573,9 @@ class PedometerBindings {
>();
late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1 =
- _registerName1("getBoundStreamsWithBufferSize:inputStream:outputStream:");
+ _registerName1(
+ "getBoundStreamsWithBufferSize:inputStream:outputStream:",
+ );
void _objc_msgSend_751(
ffi.Pointer obj,
ffi.Pointer sel,
@@ -26740,7 +26860,10 @@ class PedometerBindings {
late final _sel_taskDescription1 = _registerName1("taskDescription");
late final _sel_setTaskDescription_1 = _registerName1("setTaskDescription:");
late final _sel_state1 = _registerName1("state");
- int _objc_msgSend_759(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_759(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_759(obj, sel);
}
@@ -27067,7 +27190,10 @@ class PedometerBindings {
);
late final _class_NSMorphology1 = _getClass1("NSMorphology");
late final _sel_grammaticalGender1 = _registerName1("grammaticalGender");
- int _objc_msgSend_770(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_770(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_770(obj, sel);
}
@@ -27109,7 +27235,10 @@ class PedometerBindings {
>();
late final _sel_partOfSpeech1 = _registerName1("partOfSpeech");
- int _objc_msgSend_772(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_772(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_772(obj, sel);
}
@@ -27149,7 +27278,10 @@ class PedometerBindings {
>();
late final _sel_number1 = _registerName1("number");
- int _objc_msgSend_774(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_774(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_774(obj, sel);
}
@@ -27189,7 +27321,10 @@ class PedometerBindings {
>();
late final _sel_grammaticalCase1 = _registerName1("grammaticalCase");
- int _objc_msgSend_776(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_776(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_776(obj, sel);
}
@@ -27229,7 +27364,10 @@ class PedometerBindings {
>();
late final _sel_determination1 = _registerName1("determination");
- int _objc_msgSend_778(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_778(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_778(obj, sel);
}
@@ -27269,7 +27407,10 @@ class PedometerBindings {
>();
late final _sel_grammaticalPerson1 = _registerName1("grammaticalPerson");
- int _objc_msgSend_780(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_780(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_780(obj, sel);
}
@@ -27311,7 +27452,10 @@ class PedometerBindings {
>();
late final _sel_pronounType1 = _registerName1("pronounType");
- int _objc_msgSend_782(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_782(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_782(obj, sel);
}
@@ -27351,7 +27495,10 @@ class PedometerBindings {
>();
late final _sel_definiteness1 = _registerName1("definiteness");
- int _objc_msgSend_784(ffi.Pointer obj, ffi.Pointer sel) {
+ int _objc_msgSend_784(
+ ffi.Pointer obj,
+ ffi.Pointer sel,
+ ) {
return __objc_msgSend_784(obj, sel);
}
@@ -27541,7 +27688,10 @@ class PedometerBindings {
late final _sel_removeDependency_1 = _registerName1("removeDependency:");
late final _sel_dependencies1 = _registerName1("dependencies");
late final _sel_queuePriority1 = _registerName1("queuePriority");
- int _objc_msgSend_790(ffi.Pointer obj, ffi.Pointer