Skip to content

Commit 7e2c548

Browse files
committed
Version 7.1.2
FIX: SubThemes ElevatedButton in M3 mode, when using `elevatedButtonSecondarySchemeColor` and there was no value defined on `elevatedButtonSchemeColor` it resulted in wrong color being used as default for `elevatedButtonSchemeColor`. Issue and test fixed. CHORE: Updated Android runner/embedder. Old one did not build with Flutter 3.10. Works again after update.
1 parent 5e3a8dc commit 7e2c548

File tree

32 files changed

+85
-64
lines changed

32 files changed

+85
-64
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
name: Deploy_Web
2222
on:
2323
push:
24-
branches: [master]
24+
branches: [none]
2525
paths-ignore:
2626
- "**.md"
2727
pull_request:

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
All changes to the **FlexColorScheme** (FCS) package are documented here.
44

5+
## 7.1.2
6+
7+
**May 17, 2023**
8+
9+
**PACKAGE**
10+
11+
**FIX**
12+
13+
* SubThemes ElevatedButton in M3 mode, when using `elevatedButtonSecondarySchemeColor` and there was no value defined on `elevatedButtonSchemeColor` it resulted in wrong color being used as default for `elevatedButtonSchemeColor`. Issue and test fixed.
14+
15+
**CHORE**
16+
17+
* Updated Android runner included for all the examples. The previous one no longer worked with Flutter 3.10, and its used Kotlin version. With included updated version, the examples can be built as Android apps again.
18+
519
## 7.1.1
620

721
**May 15, 2023**

example/.metadata

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This file should be version controlled.
55

66
version:
7-
revision: 62bd79521d8d007524e351747471ba66696fc2d4
7+
revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
88
channel: stable
99

1010
project_type: app
@@ -13,26 +13,26 @@ project_type: app
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
17-
base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
16+
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
17+
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
1818
- platform: android
19-
create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
20-
base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
19+
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
20+
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
2121
- platform: ios
22-
create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
23-
base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
22+
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
23+
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
2424
- platform: linux
25-
create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
26-
base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
25+
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
26+
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
2727
- platform: macos
28-
create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
29-
base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
28+
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
29+
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
3030
- platform: web
31-
create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
32-
base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
31+
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
32+
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
3333
- platform: windows
34-
create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
35-
base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
34+
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
35+
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
3636

3737
# User provided section
3838

example/android/app/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

2828
android {
29+
namespace "com.example.example"
2930
compileSdkVersion flutter.compileSdkVersion
31+
ndkVersion flutter.ndkVersion
3032

3133
compileOptions {
3234
sourceCompatibility JavaVersion.VERSION_1_8
@@ -43,7 +45,9 @@ android {
4345

4446
defaultConfig {
4547
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
46-
applicationId "com.rydmike.themesplayground"
48+
applicationId "com.example.example"
49+
// You can update the following values to match your application needs.
50+
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
4751
minSdkVersion flutter.minSdkVersion
4852
targetSdkVersion flutter.targetSdkVersion
4953
versionCode flutterVersionCode.toInteger()

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

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

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.rydmike.themesplayground">
3-
<application
4-
android:label="Themes"
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<application
3+
android:label="example"
54
android:name="${applicationName}"
65
android:icon="@mipmap/ic_launcher">
76
<activity
@@ -31,5 +30,4 @@
3130
android:name="flutterEmbedding"
3231
android:value="2" />
3332
</application>
34-
<uses-permission android:name="android.permission.INTERNET"/>
3533
</manifest>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.rydmike.themesplayground
1+
package com.example.example
22

33
import io.flutter.embedding.android.FlutterActivity
44

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

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

example/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

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

example/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

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

0 commit comments

Comments
 (0)