flutter/examples/api/test
Greg Spencer 966d2b9223
Fix ColorScheme example and tests (#150018)
## Description

This fixes the `ColorScheme` example to actually work.  The test had wrapped the app in an additional `MaterialApp`, which allowed the tests to work, but the real problem was using a `context` that was outside the `MaterialApp` to open the bottom sheet, which caused an exception when you actually try to run it interactively.

This fixes the example and the test.

## Tests
 - Fixed the test to not artificially add a second `MaterialApp`.
2024-06-12 05:07:23 +00:00
..
animation/animation_controller Added an AnimationController API doc example (#137975) 2023-11-07 13:33:20 -08:00
cupertino Write Tests for API Examples of cupertino_text_field.0, data_table.0, icon_button.2 & ink_well.0 (#139258) 2023-11-30 20:07:00 +00:00
gestures/tap_and_drag Add an example for TapAndPanGestureRecognizer (#131873) 2023-08-09 19:59:03 +00:00
material Fix ColorScheme example and tests (#150018) 2024-06-12 05:07:23 +00:00
painting Fix painting API examples tests directories structure. (#148177) 2024-05-20 17:44:37 +00:00
rendering An example of parentData usage. (#131818) 2023-08-10 19:40:06 +00:00
sample_templates Re-Land "Actually add example templates (#111531)" (#111666) 2022-09-15 16:17:06 +00:00
services Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
ui/text Animate TextStyle.fontVariations (#138881) 2023-12-08 09:08:26 +00:00
widgets PinnedHeaderSliver (#143196) 2024-06-07 21:27:06 +00:00
flutter_test_config.dart flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
goldens_io.dart Revert "Allow Flutter golden file tests to be flaky (#114450)" (#114902) 2022-11-08 09:26:55 -08:00
goldens_web.dart Revert "Allow Flutter golden file tests to be flaky (#114450)" (#114902) 2022-11-08 09:26:55 -08:00