flutter/examples/api/lib/material/list_tile
Nate Wilson bfa04edca6
un-break ThemeData equality (#154695)
This PR is _almost_ able to close issue #89127.

Sadly, no `InheritedModel` or custom `RenderObject`s today; instead the [WidgetState operators](https://main-api.flutter.dev/flutter/widgets/WidgetStateOperators.html) have been restructured to support equality checks.

`WidgetStateProperty.fromMap()` is now capable of accurate equality checks, and all of the `.styleFrom()` methods have been refactored to use that constructor.

(Equality checks are still broken for `WidgetStateProperty.resolveWith()`, and any other non-`const` objects that implement the interface.)

<br><br>

credit for this idea goes to @justinmc: https://github.com/flutter/flutter/issues/89127#issuecomment-2313187703
2024-09-09 21:49:09 +00:00
..
custom_list_item.0.dart Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
custom_list_item.1.dart Updated custom ListTile examples (#128071) 2023-06-01 16:21:42 -07:00
list_tile.0.dart Fix typos in ListTile examples. (#129606) 2023-06-29 06:29:03 +00:00
list_tile.1.dart Fix typos in ListTile examples. (#129606) 2023-06-29 06:29:03 +00:00
list_tile.2.dart Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
list_tile.3.dart un-break ThemeData equality (#154695) 2024-09-09 21:49:09 +00:00
list_tile.4.dart Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
list_tile.selected.0.dart Fix typos in ListTile examples. (#129606) 2023-06-29 06:29:03 +00:00