Skip to content

Commit ec620f5

Browse files
committed
Update webview_flutter
1 parent 26fb32e commit ec620f5

File tree

41 files changed

+675
-674
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+675
-674
lines changed

webview_flutter/codelab_rebuild.yaml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,21 @@ steps:
1818
include: ../../analysis_options.yaml
1919
- name: Remove README
2020
rm: webview_in_flutter/README.md
21+
- name: Add .gemini directory
22+
mkdir: webview_in_flutter/.gemini
23+
- name: Add .gemini/settings.json
24+
path: webview_in_flutter/.gemini/settings.json
25+
replace-contents: |
26+
{
27+
"mcpServers": {
28+
"dart": {
29+
"command": "dart",
30+
"args": [
31+
"mcp-server"
32+
]
33+
}
34+
}
35+
}
2136
- name: Add .vscode directory
2237
mkdir: webview_in_flutter/.vscode
2338
- name: Add .vscode/launch.json
@@ -42,20 +57,6 @@ steps:
4257
- name: Add webview_flutter
4358
path: webview_in_flutter
4459
flutter: pub add webview_flutter
45-
- name: Patch android/app/build.gradle.kts
46-
path: webview_in_flutter/android/app/build.gradle.kts
47-
patch-u: |
48-
--- b/webview_flutter/step_03/android/app/build.gradle
49-
+++ a/webview_flutter/step_03/android/app/build.gradle
50-
@@ -24,7 +24,7 @@ android {
51-
applicationId = "com.example.webview_in_flutter"
52-
// You can update the following values to match your application needs.
53-
// For more information, see: https://flutter.dev/to/review-gradle-config.
54-
- minSdk = flutter.minSdkVersion
55-
+ minSdk = 21
56-
targetSdk = flutter.targetSdkVersion
57-
versionCode = flutter.versionCode
58-
versionName = flutter.versionName
5960
- name: Build iOS
6061
platforms: [ macos ]
6162
path: webview_in_flutter

webview_flutter/step_03/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ migrate_working_dir/
2727
**/doc/api/
2828
**/ios/Flutter/.last_build_id
2929
.dart_tool/
30-
.flutter-plugins
3130
.flutter-plugins-dependencies
3231
.pub-cache/
3332
.pub/
3433
/build/
34+
/coverage/
3535

3636
# Symbolication related
3737
app.*.symbols

webview_flutter/step_03/android/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ android {
2424
applicationId = "com.example.webview_in_flutter"
2525
// You can update the following values to match your application needs.
2626
// For more information, see: https://flutter.dev/to/review-gradle-config.
27-
minSdk = 21
27+
minSdk = flutter.minSdkVersion
2828
targetSdk = flutter.targetSdkVersion
2929
versionCode = flutter.versionCode
3030
versionName = flutter.versionName

webview_flutter/step_03/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 63 additions & 63 deletions
Large diffs are not rendered by default.

webview_flutter/step_03/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dev_dependencies:
4545
# activated in the `analysis_options.yaml` file located at the root of your
4646
# package. See that file for information about deactivating specific lint
4747
# rules and activating additional ones.
48-
flutter_lints: ^5.0.0
48+
flutter_lints: ^6.0.0
4949

5050
# For information on the generic Dart part of this file, see the
5151
# following page: https://dart.dev/tools/pub/pubspec

webview_flutter/step_04/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ migrate_working_dir/
2727
**/doc/api/
2828
**/ios/Flutter/.last_build_id
2929
.dart_tool/
30-
.flutter-plugins
3130
.flutter-plugins-dependencies
3231
.pub-cache/
3332
.pub/
3433
/build/
34+
/coverage/
3535

3636
# Symbolication related
3737
app.*.symbols

webview_flutter/step_04/android/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ android {
2424
applicationId = "com.example.webview_in_flutter"
2525
// You can update the following values to match your application needs.
2626
// For more information, see: https://flutter.dev/to/review-gradle-config.
27-
minSdk = 21
27+
minSdk = flutter.minSdkVersion
2828
targetSdk = flutter.targetSdkVersion
2929
versionCode = flutter.versionCode
3030
versionName = flutter.versionName

webview_flutter/step_04/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 63 additions & 63 deletions
Large diffs are not rendered by default.

webview_flutter/step_04/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dev_dependencies:
4545
# activated in the `analysis_options.yaml` file located at the root of your
4646
# package. See that file for information about deactivating specific lint
4747
# rules and activating additional ones.
48-
flutter_lints: ^5.0.0
48+
flutter_lints: ^6.0.0
4949

5050
# For information on the generic Dart part of this file, see the
5151
# following page: https://dart.dev/tools/pub/pubspec

webview_flutter/step_05/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ migrate_working_dir/
2727
**/doc/api/
2828
**/ios/Flutter/.last_build_id
2929
.dart_tool/
30-
.flutter-plugins
3130
.flutter-plugins-dependencies
3231
.pub-cache/
3332
.pub/
3433
/build/
34+
/coverage/
3535

3636
# Symbolication related
3737
app.*.symbols

0 commit comments

Comments
 (0)