Skip to content

Commit 57714c5

Browse files
committed
5.18.0
1 parent 4346633 commit 57714c5

62 files changed

Lines changed: 1083 additions & 1051 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ lcov.info
4646
.metadata
4747

4848
# Miscellaneous
49+
*_old/
4950
/tmp/
5051
*.tmp
5152
*.bak
@@ -94,7 +95,9 @@ unused.txt
9495
google-services.json
9596
/android/
9697
!/android/app/build.gradle
98+
!/android/app/build.gradle.kts
9799
!/android/build.gradle
100+
!/android/build.gradle.kts
98101
!/example/android/
99102
/example/android/app/.cxx/
100103

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11

2+
## 5.18.0
3+
March 05, 2025
4+
- Removed deprecated app_settings.dart
5+
- Additional Tests to the example app:
6+
multi_screen_test.dart
7+
routes_test.dart
8+
settings_screen_test.dart
9+
code_coverage.dart
10+
test_runapp.dart
11+
- static void errorHandler(FlutterErrorDetails details) in error_handler.dart
12+
- void activate() { and void deactivate() { in app_statex.dart
13+
if (ignoreErrorInTesting) { // Allow an error to be ignored. Once!
14+
15+
216
## 5.17.1+3
317
March 03, 2025
418
- Introduce three more 'inline' function routines in app_statex.dart:

example/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ unused.txt
9494
google-services.json
9595
#/android/
9696
#!/android/app/build.gradle
97+
#!/android/app/build.gradle.kts
9798
#!/android/build.gradle
99+
#!/android/build.gradle.kts
98100

99101
# iOS/XCode related
100102
GoogleService-Info.plist

example/analysis_options.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ linter:
100100
- one_member_abstracts
101101
- only_throw_errors
102102
- overridden_fields
103-
- package_api_docs
103+
# - package_api_docs # Removed in Dart 3.7.0
104104
- package_names
105105
- package_prefixed_library_names
106106
# - parameter_assignments # we do this commonly
@@ -172,7 +172,7 @@ linter:
172172
- unnecessary_string_interpolations
173173
- unnecessary_this
174174
- unrelated_type_equality_checks
175-
- unsafe_html
175+
# - unsafe_html # Removed in Dart 3.7.0
176176
- use_full_hex_values_for_flutter_colors
177177
- use_function_type_syntax_for_parameters
178178
- use_key_in_widget_constructors

example/android/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ gradle-wrapper.jar
55
/gradlew.bat
66
/local.properties
77
GeneratedPluginRegistrant.java
8+
.cxx/
89

910
# Remember to never publicly share your keystore.
1011
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app

example/android/app/build.gradle

Lines changed: 0 additions & 62 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
plugins {
2+
id("com.android.application")
3+
id("kotlin-android")
4+
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
5+
id("dev.flutter.flutter-gradle-plugin")
6+
}
7+
8+
android {
9+
namespace = "com.example.fluttery_framework_example"
10+
compileSdk = flutter.compileSdkVersion
11+
// ndkVersion = flutter.ndkVersion
12+
ndkVersion = "27.0.12077973"
13+
14+
compileOptions {
15+
sourceCompatibility = JavaVersion.VERSION_11
16+
targetCompatibility = JavaVersion.VERSION_11
17+
}
18+
19+
kotlinOptions {
20+
jvmTarget = JavaVersion.VERSION_11.toString()
21+
}
22+
23+
defaultConfig {
24+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
25+
applicationId = "com.example.fluttery_framework_example"
26+
// You can update the following values to match your application needs.
27+
// For more information, see: https://flutter.dev/to/review-gradle-config.
28+
minSdk = flutter.minSdkVersion
29+
targetSdk = flutter.targetSdkVersion
30+
versionCode = flutter.versionCode
31+
versionName = flutter.versionName
32+
}
33+
34+
buildTypes {
35+
release {
36+
// TODO: Add your own signing config for the release build.
37+
// Signing with the debug keys for now, so `flutter run --release` works.
38+
signingConfig = signingConfigs.getByName("debug")
39+
}
40+
}
41+
}
42+
43+
flutter {
44+
source = "../.."
45+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
22
<application
3-
android:label="example"
3+
android:label="fluttery_framework_example"
44
android:name="${applicationName}"
55
android:icon="@mipmap/ic_launcher">
66
<activity
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.example.fluttery_framework_example;
2+
3+
import io.flutter.embedding.android.FlutterActivity;
4+
5+
public class MainActivity extends FlutterActivity {
6+
}

example/android/app/src/main/kotlin/com/example/example/MainActivity.kt

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)