Qun Cheng
534adfbe02
Normalize ThemeData.cardTheme ( #153254 )
...
Following https://github.com/flutter/flutter/pull/151914 , this PR is to normalize `ThemeData.cardTheme`; change the `CardTheme cardTheme` property to `CardThemeData cardTheme` in `ThemeData`. In `ThemeData()` and `ThemeData.copyWith()`, the `cardTheme` parameter type is changed to `Object?` to accept both `CardTheme` and `CardThemeData` so that we won't cause immediate breaking change and make sure rolling is smooth. Once all component themes are normalized, these `Object?` types should be changed to `xxxThemeData`.
There's no way to create a dart fix because we can't add a "@deprecated" label for `CardTheme` because `CardTheme` is a new InheritedWidget subclass now.
Addresses the "theme normalization" sub project within https://github.com/flutter/flutter/issues/91772
2024-10-04 18:59:05 +00:00
..
2024-09-04 00:20:16 +00:00
2024-09-13 08:09:13 +00:00
2024-09-10 15:32:40 -07:00
2024-09-06 21:10:35 +00:00
2024-09-06 21:10:35 +00:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-07-08 21:01:56 +00:00
2024-09-10 15:32:40 -07:00
2024-09-04 18:35:23 +00:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-06-21 14:48:41 -07:00
2024-09-10 15:32:40 -07:00
2024-08-28 18:40:05 +00:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-08-22 03:30:22 +00:00
2024-06-12 20:05:10 +00:00
2024-10-04 18:59:05 +00:00
2024-10-02 00:21:23 +00:00
2024-07-30 20:38:06 +00:00
2024-10-02 22:47:18 +00:00
2024-09-10 15:32:40 -07:00
2024-09-04 00:20:16 +00:00
2024-09-10 15:32:40 -07:00
2024-09-04 00:20:16 +00:00
2024-06-20 06:44:11 -07:00
2024-09-04 16:27:48 +00:00
2024-08-15 19:02:23 +00:00
2024-09-10 15:32:40 -07:00
2024-10-02 23:48:13 +00:00
2024-09-10 15:32:40 -07:00
2024-09-06 21:10:35 +00:00
2024-09-06 19:13:17 +00:00
2024-10-02 23:48:13 +00:00
2024-09-10 15:32:40 -07:00
2024-07-08 21:01:56 +00:00
2024-08-29 02:23:19 +00:00
2024-09-10 15:32:40 -07:00
2024-10-03 20:09:19 +00:00
2024-07-31 11:22:26 +00:00
2024-09-18 00:19:40 +00:00
2024-06-12 20:05:10 +00:00
2024-06-12 20:05:10 +00:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-09-18 00:19:40 +00:00
2024-09-04 00:20:16 +00:00
2024-07-31 23:35:24 +00:00
2024-06-12 20:05:10 +00:00
2024-09-10 15:32:40 -07:00
2024-08-29 07:02:23 +00:00
2024-07-15 07:09:09 +00:00
2024-06-12 20:05:10 +00:00
2024-06-13 19:28:21 +00:00
2024-07-08 21:01:56 +00:00
2024-09-26 22:08:05 +00:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-06-12 20:05:10 +00:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-10-03 20:09:19 +00:00
2024-07-11 19:25:18 +00:00
2024-06-12 20:05:10 +00:00
2024-09-10 15:32:40 -07:00
2024-09-11 23:59:53 +00:00
2024-09-10 15:32:40 -07:00
2024-08-22 07:25:34 +00:00
2024-09-10 15:32:40 -07:00
2024-09-18 00:19:40 +00:00
2024-05-28 16:35:29 -07:00
2024-08-28 18:40:05 +00:00
2024-09-09 21:49:07 +00:00
2024-05-28 16:35:29 -07:00
2024-09-11 23:59:53 +00:00
2024-09-10 15:32:40 -07:00
2024-09-11 23:59:53 +00:00
2024-07-30 20:38:06 +00:00
2024-07-24 22:47:55 +00:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-06-12 20:05:10 +00:00
2024-08-30 17:50:08 +00:00
2024-07-30 20:38:06 +00:00
2024-07-31 23:35:24 +00:00
2024-10-04 18:59:05 +00:00
2024-09-10 15:32:40 -07:00
2024-10-03 18:14:51 +00:00
2024-09-10 15:32:40 -07:00
2024-09-18 00:19:40 +00:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-09-11 23:59:53 +00:00
2024-07-30 20:38:06 +00:00
2024-07-16 20:25:09 +00:00
2024-09-10 15:32:40 -07:00
2024-10-01 20:13:52 +00:00
2024-09-08 03:57:20 +00:00
2024-09-18 00:19:40 +00:00
2024-09-10 15:32:40 -07:00
2024-06-18 17:52:21 +00:00
2024-09-10 15:32:40 -07:00
2024-09-04 16:27:48 +00:00
2024-10-04 18:59:05 +00:00
2024-08-23 17:15:36 +00:00
2024-09-10 15:32:40 -07:00
2024-07-11 16:51:35 +00:00
2024-09-10 15:32:40 -07:00
2024-09-10 15:32:40 -07:00
2024-05-18 10:41:56 -07:00
2024-09-10 15:32:40 -07:00
2024-06-12 20:05:10 +00:00