Skip to content

Commit a94af64

Browse files
committed
gemini ran ci
1 parent 535a71c commit a94af64

File tree

188 files changed

+1955
-2233
lines changed

Some content is hidden

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

188 files changed

+1955
-2233
lines changed

.gemini/RELEASE.md

Whitespace-only changes.

.github/workflows/beta.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@ jobs:
3838

3939
# Verify the Android add-to-app samples build and pass tests with the beta
4040
# channel.
41-
# android-build:
42-
# runs-on: ubuntu-latest
43-
# if: github.repository == 'flutter/samples'
44-
# steps:
45-
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
46-
# - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00
47-
# with:
48-
# distribution: 'zulu'
49-
# java-version: '17'
50-
# - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
51-
# with:
52-
# channel: beta
53-
# - run: ./tool/android_ci_script.sh
41+
android-build:
42+
runs-on: ubuntu-latest
43+
if: github.repository == 'flutter/samples'
44+
steps:
45+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
46+
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00
47+
with:
48+
distribution: 'zulu'
49+
java-version: '17'
50+
- uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
51+
with:
52+
channel: beta
53+
- run: ./tool/android_ci_script.sh
5454

5555
# Verify the iOS add-to-app samples build and pass tests with the beta
5656
# channel.

.github/workflows/main.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
flutter_version: [stable, beta, master]
27+
flutter_version: [stable]
2828
os: [ubuntu-latest, macos-latest, windows-latest]
2929
steps:
3030
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
@@ -37,19 +37,19 @@ jobs:
3737
channel: ${{ matrix.flutter_version }}
3838
- run: ./tool/flutter_ci_script_${{ matrix.flutter_version }}.sh
3939

40-
# android-build:
41-
# runs-on: ubuntu-latest
42-
# if: github.repository == 'flutter/samples'
43-
# steps:
44-
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
45-
# - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00
46-
# with:
47-
# distribution: 'zulu'
48-
# java-version: '17'
49-
# - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
50-
# with:
51-
# channel: stable
52-
# - run: ./tool/android_ci_script.sh
40+
android-build:
41+
runs-on: ubuntu-latest
42+
if: github.repository == 'flutter/samples'
43+
steps:
44+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
45+
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00
46+
with:
47+
distribution: 'zulu'
48+
java-version: '17'
49+
- uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
50+
with:
51+
channel: stable
52+
- run: ./tool/android_ci_script.sh
5353

5454
ios-build:
5555
runs-on: macos-latest

add_to_app/android_view/flutter_module_using_plugin/lib/cell.dart

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,22 +112,22 @@ class _CellState extends State<Cell> with WidgetsBindingObserver {
112112
child: StreamBuilder<AccelerometerEvent>(
113113
// Don't continuously rebuild for nothing when the
114114
// cell isn't visible.
115-
stream:
116-
appLifecycleState == AppLifecycleState.resumed
117-
? accelerometerEventStream()
118-
: Stream.value(defaultPosition),
115+
stream: appLifecycleState == AppLifecycleState.resumed
116+
? accelerometerEventStream()
117+
: Stream.value(defaultPosition),
119118
initialData: defaultPosition,
120119
builder: (context, snapshot) {
121120
return Transform(
122121
// Figure out the phone's orientation relative
123122
// to gravity's direction. Ignore the z vector.
124-
transform: Matrix4.rotationX(
125-
snapshot.data!.y / gravity * pi / 2,
126-
)..multiply(
127-
Matrix4.rotationY(
128-
snapshot.data!.x / gravity * pi / 2,
129-
),
130-
),
123+
transform:
124+
Matrix4.rotationX(
125+
snapshot.data!.y / gravity * pi / 2,
126+
)..multiply(
127+
Matrix4.rotationY(
128+
snapshot.data!.x / gravity * pi / 2,
129+
),
130+
),
131131
alignment: Alignment.center,
132132
child: const FlutterLogo(size: 72),
133133
);

add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ description: An example Flutter module that uses a plugin.
44
version: 1.0.0+1
55

66
environment:
7-
sdk: ^3.7.0-0
7+
sdk: '>=3.9.0-0 <4.0.0'
88

99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
provider: ^6.0.2
13-
url_launcher: ^6.0.20
12+
provider: ^6.1.5
13+
url_launcher: ^6.3.2
1414
sensors_plus: ^5.0.1
1515

1616
dev_dependencies:

add_to_app/books/flutter_module_books/lib/main.dart

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -125,28 +125,26 @@ class _BookDetailState extends State<BookDetail> {
125125
IconButton(
126126
icon: const Icon(Icons.check),
127127
// Pressing save sends the updated book to the platform.
128-
onPressed:
129-
book != null
130-
? () {
131-
hostApi.finishEditingBook(book!);
132-
clear();
133-
}
134-
: null,
128+
onPressed: book != null
129+
? () {
130+
hostApi.finishEditingBook(book!);
131+
clear();
132+
}
133+
: null,
135134
),
136135
],
137136
),
138-
body:
139-
book == null
140-
// Draw a spinner until the platform gives us the book to show details
141-
// for.
142-
? const Center(child: CircularProgressIndicator())
143-
: BookForm(
144-
book: book!,
145-
focusNode: textFocusNode,
146-
authorTextController: authorTextController,
147-
subtitleTextController: subtitleTextController,
148-
titleTextController: titleTextController,
149-
),
137+
body: book == null
138+
// Draw a spinner until the platform gives us the book to show details
139+
// for.
140+
? const Center(child: CircularProgressIndicator())
141+
: BookForm(
142+
book: book!,
143+
focusNode: textFocusNode,
144+
authorTextController: authorTextController,
145+
subtitleTextController: subtitleTextController,
146+
titleTextController: titleTextController,
147+
),
150148
);
151149
}
152150
}

add_to_app/books/flutter_module_books/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: A Flutter module using the Pigeon package to demonstrate
66
version: 1.0.0+1
77

88
environment:
9-
sdk: ^3.7.0-0
9+
sdk: '>=3.9.0-0 <4.0.0'
1010

1111
dependencies:
1212
flutter:

add_to_app/books/flutter_module_books/test/widget_test.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ void main() {
2424
MockHostBookApi mockHostApi = MockHostBookApi();
2525

2626
await tester.pumpWidget(
27-
MaterialApp(home: BookDetail(book: Book(), hostApi: mockHostApi)),
27+
MaterialApp(
28+
home: BookDetail(book: Book(), hostApi: mockHostApi),
29+
),
2830
);
2931

3032
await tester.tap(find.byIcon(Icons.check));

add_to_app/fullscreen/flutter_module/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: An example Flutter module.
44
version: 1.0.0+1
55

66
environment:
7-
sdk: ^3.7.0-0
7+
sdk: '>=3.9.0-0 <4.0.0'
88

99
dependencies:
1010
flutter:

add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A module that is embedded in the multiple_flutters_ios and multiple
44
version: 1.0.0+1
55

66
environment:
7-
sdk: ^3.7.0-0
7+
sdk: '>=3.9.0-0 <4.0.0'
88

99
dependencies:
1010
flutter:

0 commit comments

Comments
 (0)