mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-05-02 20:37:58 -05:00
[core] Update Flutter to Version 3.24.0 (#189)
Update Flutter to Version 3.24.0 and replace the deprecated `background` and `onBackground` colors with `surface` and `onSurface`. Within this migration we also adjusted the `onSecondary` color, so that the apps look as before the update.
This commit is contained in:
@@ -235,6 +235,8 @@ class _SetSettingsState extends State<SetSettings> {
|
||||
),
|
||||
ElevatedButton.icon(
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: Constants.secondary,
|
||||
foregroundColor: Constants.onSecondary,
|
||||
maximumSize: const Size.fromHeight(
|
||||
Constants.elevatedButtonSize,
|
||||
),
|
||||
@@ -253,6 +255,8 @@ class _SetSettingsState extends State<SetSettings> {
|
||||
),
|
||||
ElevatedButton.icon(
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: Constants.secondary,
|
||||
foregroundColor: Constants.onSecondary,
|
||||
maximumSize: const Size.fromHeight(
|
||||
Constants.elevatedButtonSize,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user