• Jonah Williams's avatar
    [flutter_tools] update fastReassemble method for single widget reloads (#61413) · 485034ca
    Jonah Williams authored
    For #61407 , we need to be able to find all widgets that of a given type. Previously I experimented with using the type name, but of course this does not handles subtypes. The actual check needs to be an is check.
    
    Since there is no way to convert a String to a Type at runtime for use in this check, we can instead evaluate an expression which assigns a closure to a field. The idea for this was inspired by how the dart devtools adds debug functionality to older versions of flutter.
    
    Since the reload feature is not complete yet, adds an integration test which simulates how it will eventually behave
    485034ca
Name
Last commit
Last update
..
assertions_test.dart Loading commit data...
bit_field_test.dart Loading commit data...
caching_iterable_test.dart Loading commit data...
capture_output.dart Loading commit data...
change_notifier_test.dart Loading commit data...
collections_test.dart Loading commit data...
consolidate_response_test.dart Loading commit data...
constants_test.dart Loading commit data...
covariant_templates_test.dart Loading commit data...
debug_test.dart Loading commit data...
defines_test.dart Loading commit data...
diagnostics_json_test.dart Loading commit data...
diagnostics_test.dart Loading commit data...
double_precision_test.dart Loading commit data...
error_reporting_test.dart Loading commit data...
isolates_test.dart Loading commit data...
licenses_test.dart Loading commit data...
observer_list_test.dart Loading commit data...
platform_helper.dart Loading commit data...
print_test.dart Loading commit data...
reassemble_test.dart Loading commit data...
serialization_test.dart Loading commit data...
service_extensions_test.dart Loading commit data...
stack_frame_test.dart Loading commit data...
stack_trace_test.dart Loading commit data...
synchronous_future_test.dart Loading commit data...