Skip to content

Commit 8321b6d

Browse files
committed
Update to Flutter 3
1 parent 2b81348 commit 8321b6d

Some content is hidden

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

68 files changed

+2367
-379
lines changed

.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: c860cba910319332564e1e9d470a17074c1f2dfd
7+
revision: cd41fdd495f6944ecd3506c21e94c6567b073278
88
channel: stable
99

1010
project_type: package

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.6.0
2+
3+
- Update to Flutter 3
4+
- Update a room `updatedAt` when a new message is sent. Thanks @rootd for the PR!
5+
16
## 1.5.4
27

38
- Fix `lastSeen` user property when using `createUserInFirestore`. Thanks @AcnoSaga for reporting!

analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ linter:
2424
rules:
2525
# avoid_print: false # Uncomment to disable the `avoid_print` rule
2626
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27+
- use_super_parameters
2728

2829
# Additional information about this file can be found at
2930
# https://dart.dev/guides/language/analysis-options

example/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
.buildlog/
99
.history
1010
.svn/
11+
migrate_working_dir/
1112

1213
# IntelliJ related
1314
*.iml

example/.metadata

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,45 @@
11
# This file tracks properties of this Flutter project.
22
# Used by Flutter tool to assess capabilities and perform upgrades etc.
33
#
4-
# This file should be version controlled and should not be manually edited.
4+
# This file should be version controlled.
55

66
version:
7-
revision: c860cba910319332564e1e9d470a17074c1f2dfd
7+
revision: cd41fdd495f6944ecd3506c21e94c6567b073278
88
channel: stable
99

1010
project_type: app
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
17+
base_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
18+
- platform: android
19+
create_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
20+
base_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
21+
- platform: ios
22+
create_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
23+
base_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
24+
- platform: linux
25+
create_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
26+
base_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
27+
- platform: macos
28+
create_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
29+
base_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
30+
- platform: web
31+
create_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
32+
base_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
33+
- platform: windows
34+
create_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
35+
base_revision: cd41fdd495f6944ecd3506c21e94c6567b073278
36+
37+
# User provided section
38+
39+
# List of Local paths (relative to this file) that should be
40+
# ignored by the migrate tool.
41+
#
42+
# Files that are not part of the templates will be ignored by default.
43+
unmanaged_files:
44+
- 'lib/main.dart'
45+
- 'ios/Runner.xcodeproj/project.pbxproj'

example/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ This project is a starting point for a Flutter application.
88

99
A few resources to get you started if this is your first Flutter project:
1010

11-
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
11+
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12+
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
1313

14-
For help getting started with Flutter, view our
15-
[online documentation](https://flutter.dev/docs), which offers tutorials,
14+
For help getting started with Flutter development, view the
15+
[online documentation](https://docs.flutter.dev/), which offers tutorials,
1616
samples, guidance on mobile development, and a full API reference.

example/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ linter:
2424
rules:
2525
# avoid_print: false # Uncomment to disable the `avoid_print` rule
2626
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27+
- use_super_parameters
2728

2829
# Additional information about this file can be found at
2930
# https://dart.dev/guides/language/analysis-options

example/android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2828

2929
android {
3030
compileSdkVersion flutter.compileSdkVersion
31+
ndkVersion flutter.ndkVersion
3132

3233
compileOptions {
3334
sourceCompatibility JavaVersion.VERSION_1_8

example/android/app/src/debug/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="com.example">
3-
<!-- Flutter needs it to communicate with the running application
3+
<!-- The INTERNET permission is required for development. Specifically,
4+
the Flutter tool needs it to communicate with the running application
45
to allow setting breakpoints, to provide hot reload, etc.
56
-->
67
<uses-permission android:name="android.permission.INTERNET"/>

example/android/app/src/main/res/values-night/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
44
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
55
<!-- Show a splash screen on the activity. Automatically removed when
6-
Flutter draws its first frame -->
6+
the Flutter engine draws its first frame -->
77
<item name="android:windowBackground">@drawable/launch_background</item>
88
</style>
99
<!-- Theme applied to the Android Window as soon as the process has started.

0 commit comments

Comments
 (0)