-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Release 3.47 #2879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Release 3.47 #2879
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a991102
fix analysis issue
ericwindmill 2247c50
remove unneeded project
ericwindmill 080f181
Update analysis options
ericwindmill 1d26f14
dart format
ericwindmill fe810f8
add beta back into repo
ericwindmill bc1beb9
Apply suggestions from code review
ericwindmill 1565575
remove all analysis options imports infavor of inheriting once
ericwindmill File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 10 additions & 1 deletion
11
add_to_app/android_view/flutter_module_using_plugin_android_view/analysis_options.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** | ||
| include: ../../../analysis_options.yaml | ||
11 changes: 10 additions & 1 deletion
11
...ndroid_view/flutter_module_using_plugin_content_sizing_android_view/analysis_options.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** | ||
| include: ../../../analysis_options.yaml |
11 changes: 10 additions & 1 deletion
11
add_to_app/books/flutter_module_books/analysis_options.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** | ||
| include: ../../../analysis_options.yaml |
11 changes: 10 additions & 1 deletion
11
add_to_app/fullscreen/flutter_module_fullscreen/analysis_options.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** | ||
| include: ../../../analysis_options.yaml |
4 changes: 0 additions & 4 deletions
4
add_to_app/ios_content_resizing/flutter_module/analysis_options.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 | ||
1 change: 0 additions & 1 deletion
1
add_to_app/ios_content_resizing/ios_content_resizing/flutter_module/analysis_options.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +0,0 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
11 changes: 10 additions & 1 deletion
11
add_to_app/multiple_flutters/multiple_flutters_module/analysis_options.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** | ||
| include: ../../../analysis_options.yaml |
11 changes: 10 additions & 1 deletion
11
add_to_app/plugin/flutter_module_using_plugin/analysis_options.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** | ||
| include: ../../../analysis_options.yaml |
11 changes: 10 additions & 1 deletion
11
add_to_app/prebuilt_module/flutter_module/analysis_options.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** | ||
| include: ../../../analysis_options.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
|
|
||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** | ||
| include: ../analysis_options.yaml |
32 changes: 32 additions & 0 deletions
32
animation_gallery/ios/Flutter/ephemeral/flutter_lldb_helper.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 --") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # | ||
| # Generated file, do not edit. | ||
| # | ||
|
|
||
| command script import --relative-to-command-file flutter_lldb_helper.py |
12 changes: 12 additions & 0 deletions
12
animation_gallery/ios/Flutter/ephemeral/flutter_native_integration.env
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
12 changes: 12 additions & 0 deletions
12
animation_gallery/macos/Flutter/ephemeral/Flutter-Generated.xcconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
13 changes: 13 additions & 0 deletions
13
animation_gallery/macos/Flutter/ephemeral/flutter_export_environment.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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" |
11 changes: 11 additions & 0 deletions
11
animation_gallery/macos/Flutter/ephemeral/flutter_native_integration.env
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** | ||
| include: ../analysis_options.yaml |
40 changes: 10 additions & 30 deletions
40
asset_transformation/grayscale_transformer/analysis_options.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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()); | ||
| }); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| include: package:analysis_defaults/flutter.yaml | ||
| analyzer: | ||
| exclude: | ||
| - build/** | ||
| - android/** | ||
| - ios/** | ||
| - web/** | ||
| - windows/** | ||
| - macos/** | ||
| - linux/** | ||
| include: ../analysis_options.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.