improve focus example (#147464)

Part of #130459. Adds a test to the [second focus example](https://api.flutter.dev/flutter/widgets/Focus-class.html#widgets.Focus.2) and makes the function of the example more clear.
This commit is contained in:
derdilla
2024-05-07 22:07:49 +02:00
committed by GitHub
parent be3e916443
commit a7bdf369e5
3 changed files with 101 additions and 2 deletions

View File

@@ -459,7 +459,6 @@ final Set<String> _knownMissingTests = <String>{
'examples/api/test/widgets/actions/focusable_action_detector.0_test.dart',
'examples/api/test/widgets/color_filter/color_filtered.0_test.dart',
'examples/api/test/widgets/focus_scope/focus.2_test.dart',
'examples/api/test/widgets/focus_scope/focus.1_test.dart',
'examples/api/test/widgets/focus_scope/focus_scope.0_test.dart',
'examples/api/test/widgets/scroll_view/custom_scroll_view.1_test.dart',
'examples/api/test/widgets/inherited_notifier/inherited_notifier.0_test.dart',