Update ExpansionPanel example for the updated expansionCallback callback (#132837)

fixes [ExpansionPanelList can't expand/collapse on the latest stable/master
](https://github.com/flutter/flutter/issues/132759)

https://github.com/flutter/flutter/pull/128082 updated the `expansionCallback` and also the `ExpansionPanel` sample in the Flutter gallery but not the API example. 

This PR fixes the API example and adds tests.
This commit is contained in:
Taha Tesser
2023-08-21 23:13:22 +03:00
committed by GitHub
parent 505f9d8954
commit af79b4c7a3
3 changed files with 76 additions and 2 deletions

View File

@@ -306,7 +306,6 @@ final Set<String> _knownMissingTests = <String>{
'examples/api/test/material/icon_button/icon_button.3_test.dart',
'examples/api/test/material/icon_button/icon_button.0_test.dart',
'examples/api/test/material/icon_button/icon_button.1_test.dart',
'examples/api/test/material/expansion_panel/expansion_panel_list.0_test.dart',
'examples/api/test/material/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0_test.dart',
'examples/api/test/material/input_decorator/input_decoration.1_test.dart',
'examples/api/test/material/input_decorator/input_decoration.prefix_icon_constraints.0_test.dart',