Migrate a Flutter App from MaterialStateProperty to WidgetStateProperty (Flutter 3.22+)
Rename MaterialState, MaterialStateProperty, MaterialStateColor and the rest of the family to their WidgetState equivalents. What dart fix rewrites, the input border subclasses it cannot touch, why a fromMap with & or | keys cannot be const, and how fromMap throws where resolveWith quietly fell back. Measured on Flutter 3.44.8 with Dart 3.12.2.