Skip to content

Commit 91d47c4

Browse files
committed
Update boring_to_beautiful for Flutter 3.33
1 parent 6c07ab9 commit 91d47c4

File tree

73 files changed

+1050
-1018
lines changed

Some content is hidden

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

73 files changed

+1050
-1018
lines changed

boring_to_beautiful/codelab_rebuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2328,8 +2328,8 @@ steps:
23282328
);
23292329
}
23302330

2331-
BottomAppBarTheme bottomAppBarTheme(ColorScheme colors) {
2332-
return BottomAppBarTheme(color: colors.surface, elevation: 0);
2331+
BottomAppBarThemeData bottomAppBarTheme(ColorScheme colors) {
2332+
return BottomAppBarThemeData(color: colors.surface, elevation: 0);
23332333
}
23342334

23352335
BottomNavigationBarThemeData bottomNavigationBarTheme(ColorScheme colors) {

boring_to_beautiful/final/android/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ allprojects {
55
}
66
}
77

8-
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
8+
val newBuildDir: Directory =
9+
rootProject.layout.buildDirectory
10+
.dir("../../build")
11+
.get()
912
rootProject.layout.buildDirectory.value(newBuildDir)
1013

1114
subprojects {

boring_to_beautiful/final/android/settings.gradle.kts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
pluginManagement {
2-
val flutterSdkPath = run {
3-
val properties = java.util.Properties()
4-
file("local.properties").inputStream().use { properties.load(it) }
5-
val flutterSdkPath = properties.getProperty("flutter.sdk")
6-
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
7-
flutterSdkPath
8-
}
2+
val flutterSdkPath =
3+
run {
4+
val properties = java.util.Properties()
5+
file("local.properties").inputStream().use { properties.load(it) }
6+
val flutterSdkPath = properties.getProperty("flutter.sdk")
7+
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
8+
flutterSdkPath
9+
}
910

1011
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
1112

@@ -18,7 +19,7 @@ pluginManagement {
1819

1920
plugins {
2021
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
21-
id("com.android.application") version "8.7.3" apply false
22+
id("com.android.application") version "8.9.1" apply false
2223
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
2324
}
2425

boring_to_beautiful/final/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

boring_to_beautiful/final/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '12.0'
2+
# platform :ios, '13.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

boring_to_beautiful/final/ios/Runner.xcodeproj/project.pbxproj

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

boring_to_beautiful/final/lib/src/shared/providers/theme.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ class ThemeProvider extends InheritedWidget {
119119
);
120120
}
121121

122-
BottomAppBarTheme bottomAppBarTheme(ColorScheme colors) {
123-
return BottomAppBarTheme(color: colors.surface, elevation: 0);
122+
BottomAppBarThemeData bottomAppBarTheme(ColorScheme colors) {
123+
return BottomAppBarThemeData(color: colors.surface, elevation: 0);
124124
}
125125

126126
BottomNavigationBarThemeData bottomNavigationBarTheme(ColorScheme colors) {

boring_to_beautiful/final/macos/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :osx, '10.14'
1+
platform :osx, '10.15'
22

33
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
44
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

boring_to_beautiful/final/macos/Runner.xcodeproj/project.pbxproj

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

boring_to_beautiful/final/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ publish_to: 'none'
44
version: 0.1.0
55

66
environment:
7-
sdk: ^3.8.0
7+
sdk: ^3.9.0-0
88

99
dependencies:
1010
flutter:

0 commit comments

Comments
 (0)