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..5940214f4 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,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.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..5940214f4 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,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.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..5940214f4 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,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml 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..5940214f4 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,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml 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..322db234a 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,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml \ No newline at end of file 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..5940214f4 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,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml 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..5940214f4 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,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/android_splash_screen/analysis_options.yaml b/android_splash_screen/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/android_splash_screen/analysis_options.yaml +++ b/android_splash_screen/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.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..5940214f4 100644 --- a/animations/analysis_options.yaml +++ b/animations/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/asset_transformation/grayscale_transformer/analysis_options.yaml b/asset_transformation/grayscale_transformer/analysis_options.yaml index dee8927aa..6c4f4c8dd 100644 --- a/asset_transformation/grayscale_transformer/analysis_options.yaml +++ b/asset_transformation/grayscale_transformer/analysis_options.yaml @@ -11,6 +11,15 @@ # (the recommended set includes the core lints). # The core lints are also what is used by pub.dev for scoring packages. +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:lints/recommended.yaml # Uncomment the following section to specify additional rules. diff --git a/background_isolate_channels/analysis_options.yaml b/background_isolate_channels/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/background_isolate_channels/analysis_options.yaml +++ b/background_isolate_channels/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/compass_app/app/analysis_options.yaml b/compass_app/app/analysis_options.yaml index 06985b74e..90f16991a 100644 --- a/compass_app/app/analysis_options.yaml +++ b/compass_app/app/analysis_options.yaml @@ -1,3 +1,12 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:flutter_lints/flutter.yaml linter: 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/routing/router.dart b/compass_app/app/lib/routing/router.dart index 2d3030085..390f32ece 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/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/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/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/cupertino_gallery/analysis_options.yaml b/cupertino_gallery/analysis_options.yaml index 0d2902135..bf8d42185 100644 --- a/cupertino_gallery/analysis_options.yaml +++ b/cupertino_gallery/analysis_options.yaml @@ -7,6 +7,15 @@ # The following line activates a set of recommended lints for Flutter apps, # packages, and plugins designed to encourage good coding practices. +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:flutter_lints/flutter.yaml linter: diff --git a/cupertino_gallery/lib/widgets/sheet_page.dart b/cupertino_gallery/lib/widgets/sheet_page.dart index 103d1bdcc..e2f7a1609 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: + (BuildContext context, ScrollController 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/date_planner/analysis_options.yaml b/date_planner/analysis_options.yaml index 0d2902135..bf8d42185 100644 --- a/date_planner/analysis_options.yaml +++ b/date_planner/analysis_options.yaml @@ -7,6 +7,15 @@ # The following line activates a set of recommended lints for Flutter apps, # packages, and plugins designed to encourage good coding practices. +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:flutter_lints/flutter.yaml linter: diff --git a/desktop_photo_search/fluent_ui/analysis_options.yaml b/desktop_photo_search/fluent_ui/analysis_options.yaml index f6bfd9b61..f9c399b5d 100644 --- a/desktop_photo_search/fluent_ui/analysis_options.yaml +++ b/desktop_photo_search/fluent_ui/analysis_options.yaml @@ -1,3 +1,12 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml linter: diff --git a/desktop_photo_search/material/analysis_options.yaml b/desktop_photo_search/material/analysis_options.yaml index f6bfd9b61..f9c399b5d 100644 --- a/desktop_photo_search/material/analysis_options.yaml +++ b/desktop_photo_search/material/analysis_options.yaml @@ -1,3 +1,12 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml linter: diff --git a/dynamic_theme/analysis_options.yaml b/dynamic_theme/analysis_options.yaml index 0d2902135..bf8d42185 100644 --- a/dynamic_theme/analysis_options.yaml +++ b/dynamic_theme/analysis_options.yaml @@ -7,6 +7,15 @@ # The following line activates a set of recommended lints for Flutter apps, # packages, and plugins designed to encourage good coding practices. +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:flutter_lints/flutter.yaml linter: diff --git a/form_app/analysis_options.yaml b/form_app/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/form_app/analysis_options.yaml +++ b/form_app/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/google_maps/analysis_options.yaml b/google_maps/analysis_options.yaml index eb3cb890b..d48569270 100644 --- a/google_maps/analysis_options.yaml +++ b/google_maps/analysis_options.yaml @@ -3,3 +3,10 @@ include: package:analysis_defaults/flutter.yaml analyzer: exclude: - lib/src/*.g.dart + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** diff --git a/ios_app_clip/analysis_options.yaml b/ios_app_clip/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/ios_app_clip/analysis_options.yaml +++ b/ios_app_clip/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/material_3_demo/analysis_options.yaml b/material_3_demo/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/material_3_demo/analysis_options.yaml +++ b/material_3_demo/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/material_gallery/ios/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Package.swift b/material_gallery/ios/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Package.swift new file mode 100644 index 000000000..60b49da76 --- /dev/null +++ b/material_gallery/ios/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Package.swift @@ -0,0 +1,32 @@ +// swift-tools-version: 5.9 +// The swift-tools-version declares the minimum version of Swift required to build this package. +// +// Generated file. Do not edit. +// + +import PackageDescription + +let package = Package( + name: "FlutterGeneratedPluginSwiftPackage", + platforms: [ + .iOS("13.0") + ], + products: [ + .library(name: "FlutterGeneratedPluginSwiftPackage", type: .static, targets: ["FlutterGeneratedPluginSwiftPackage"]) + ], + dependencies: [ + .package(name: "integration_test", path: "../.packages/integration_test"), + .package(name: "url_launcher_ios", path: "../.packages/url_launcher_ios-6.3.3"), + .package(name: "FlutterFramework", path: "../.packages/FlutterFramework") + ], + targets: [ + .target( + name: "FlutterGeneratedPluginSwiftPackage", + dependencies: [ + .product(name: "integration-test", package: "integration_test"), + .product(name: "url-launcher-ios", package: "url_launcher_ios"), + .product(name: "FlutterFramework", package: "FlutterFramework") + ] + ) + ] +) diff --git a/material_gallery/ios/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Sources/FlutterGeneratedPluginSwiftPackage/FlutterGeneratedPluginSwiftPackage.swift b/material_gallery/ios/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Sources/FlutterGeneratedPluginSwiftPackage/FlutterGeneratedPluginSwiftPackage.swift new file mode 100644 index 000000000..a30d95a81 --- /dev/null +++ b/material_gallery/ios/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Sources/FlutterGeneratedPluginSwiftPackage/FlutterGeneratedPluginSwiftPackage.swift @@ -0,0 +1,3 @@ +// +// Generated file. Do not edit. +// diff --git a/material_gallery/ios/Flutter/ephemeral/flutter_lldb_helper.py b/material_gallery/ios/Flutter/ephemeral/flutter_lldb_helper.py new file mode 100644 index 000000000..a88caf99d --- /dev/null +++ b/material_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/material_gallery/ios/Flutter/ephemeral/flutter_lldbinit b/material_gallery/ios/Flutter/ephemeral/flutter_lldbinit new file mode 100644 index 000000000..e3ba6fbed --- /dev/null +++ b/material_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/material_gallery/ios/Flutter/ephemeral/flutter_native_integration.env b/material_gallery/ios/Flutter/ephemeral/flutter_native_integration.env new file mode 100644 index 000000000..ee06fafe9 --- /dev/null +++ b/material_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/material_gallery +FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=/Users/ewindmill/development/samples/material_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/material_gallery/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux b/material_gallery/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux new file mode 120000 index 000000000..7e6ea13b9 --- /dev/null +++ b/material_gallery/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux @@ -0,0 +1 @@ +/Users/ewindmill/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/ \ No newline at end of file diff --git a/material_gallery/macos/Flutter/ephemeral/Flutter-Generated.xcconfig b/material_gallery/macos/Flutter/ephemeral/Flutter-Generated.xcconfig new file mode 100644 index 000000000..c13f24dd0 --- /dev/null +++ b/material_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/material_gallery +FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=/Users/ewindmill/development/samples/material_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/material_gallery/macos/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Package.swift b/material_gallery/macos/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Package.swift new file mode 100644 index 000000000..550500670 --- /dev/null +++ b/material_gallery/macos/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Package.swift @@ -0,0 +1,30 @@ +// swift-tools-version: 5.9 +// The swift-tools-version declares the minimum version of Swift required to build this package. +// +// Generated file. Do not edit. +// + +import PackageDescription + +let package = Package( + name: "FlutterGeneratedPluginSwiftPackage", + platforms: [ + .macOS("10.15") + ], + products: [ + .library(name: "FlutterGeneratedPluginSwiftPackage", type: .static, targets: ["FlutterGeneratedPluginSwiftPackage"]) + ], + dependencies: [ + .package(name: "url_launcher_macos", path: "../.packages/url_launcher_macos-3.2.2"), + .package(name: "FlutterFramework", path: "../.packages/FlutterFramework") + ], + targets: [ + .target( + name: "FlutterGeneratedPluginSwiftPackage", + dependencies: [ + .product(name: "url-launcher-macos", package: "url_launcher_macos"), + .product(name: "FlutterFramework", package: "FlutterFramework") + ] + ) + ] +) diff --git a/material_gallery/macos/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Sources/FlutterGeneratedPluginSwiftPackage/FlutterGeneratedPluginSwiftPackage.swift b/material_gallery/macos/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Sources/FlutterGeneratedPluginSwiftPackage/FlutterGeneratedPluginSwiftPackage.swift new file mode 100644 index 000000000..a30d95a81 --- /dev/null +++ b/material_gallery/macos/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Sources/FlutterGeneratedPluginSwiftPackage/FlutterGeneratedPluginSwiftPackage.swift @@ -0,0 +1,3 @@ +// +// Generated file. Do not edit. +// diff --git a/material_gallery/macos/Flutter/ephemeral/flutter_export_environment.sh b/material_gallery/macos/Flutter/ephemeral/flutter_export_environment.sh new file mode 100755 index 000000000..4f28f75f4 --- /dev/null +++ b/material_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/material_gallery" +export "FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=/Users/ewindmill/development/samples/material_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/material_gallery/macos/Flutter/ephemeral/flutter_native_integration.env b/material_gallery/macos/Flutter/ephemeral/flutter_native_integration.env new file mode 100644 index 000000000..a15d012a4 --- /dev/null +++ b/material_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/material_gallery +FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=/Users/ewindmill/development/samples/material_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/material_gallery/windows/flutter/ephemeral/.plugin_symlinks/url_launcher_windows b/material_gallery/windows/flutter/ephemeral/.plugin_symlinks/url_launcher_windows new file mode 120000 index 000000000..211d895d3 --- /dev/null +++ b/material_gallery/windows/flutter/ephemeral/.plugin_symlinks/url_launcher_windows @@ -0,0 +1 @@ +/Users/ewindmill/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/ \ No newline at end of file diff --git a/navigation_and_routing/analysis_options.yaml b/navigation_and_routing/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/navigation_and_routing/analysis_options.yaml +++ b/navigation_and_routing/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/pedometer/analysis_options.yaml b/pedometer/analysis_options.yaml index a5744c1cf..534f26d23 100644 --- a/pedometer/analysis_options.yaml +++ b/pedometer/analysis_options.yaml @@ -1,3 +1,12 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:flutter_lints/flutter.yaml # Additional information about this file can be found at diff --git a/pedometer/example/analysis_options.yaml b/pedometer/example/analysis_options.yaml index 61b6c4de1..5bee4ffba 100644 --- a/pedometer/example/analysis_options.yaml +++ b/pedometer/example/analysis_options.yaml @@ -7,6 +7,15 @@ # The following line activates a set of recommended lints for Flutter apps, # packages, and plugins designed to encourage good coding practices. +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:flutter_lints/flutter.yaml linter: diff --git a/platform_channels/analysis_options.yaml b/platform_channels/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/platform_channels/analysis_options.yaml +++ b/platform_channels/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/platform_design/analysis_options.yaml b/platform_design/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/platform_design/analysis_options.yaml +++ b/platform_design/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/platform_view_swift/analysis_options.yaml b/platform_view_swift/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/platform_view_swift/analysis_options.yaml +++ b/platform_view_swift/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/simple_sdf/analysis_options.yaml b/simple_sdf/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/simple_sdf/analysis_options.yaml +++ b/simple_sdf/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/simple_shader/analysis_options.yaml b/simple_shader/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/simple_shader/analysis_options.yaml +++ b/simple_shader/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/testing_app/analysis_options.yaml b/testing_app/analysis_options.yaml index 13d6fe105..5940214f4 100644 --- a/testing_app/analysis_options.yaml +++ b/testing_app/analysis_options.yaml @@ -1 +1,10 @@ +analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** include: package:analysis_defaults/flutter.yaml diff --git a/web_embedding/ng-flutter/flutter/analysis_options.yaml b/web_embedding/ng-flutter/flutter/analysis_options.yaml index 2b76d1763..e1fcb4321 100644 --- a/web_embedding/ng-flutter/flutter/analysis_options.yaml +++ b/web_embedding/ng-flutter/flutter/analysis_options.yaml @@ -1,6 +1,14 @@ include: package:flutter_lints/flutter.yaml analyzer: + exclude: + - build/** + - android/** + - ios/** + - web/** + - windows/** + - macos/** + - linux/** language: strict-casts: true strict-inference: true