flutter/examples/api/test
Hans Muller abd7cd0528
PinnedHeaderSliver example based on the iOS Settings AppBar (#151205)
A relatively elaborate PinnedSliverHeader example which creates an app bar that's similar to the one that appears in the iOS Settings app. In this example the pinned header starts out transparent and the first item in the list serves as the app's "Settings" title. When the title item has been scrolled completely behind the pinned header, the header animates its opacity from 0 to 1 and its (centered) "Settings" title appears. The fact that the header's opacity depends on the height of the title item - which is unknown until the list has been laid out - necessitates monitoring its SliverConstraints.scrollExtent from a scroll NotificationListener. 

https://github.com/flutter/flutter/assets/1377460/539e2591-d0d7-4508-8ce8-4b8f587d7648
2024-07-03 20:06:16 +00:00
..
animation/animation_controller Added an AnimationController API doc example (#137975) 2023-11-07 13:33:20 -08:00
cupertino Add an example for CupertinoPopupSurface (#150357) 2024-06-25 11:20:34 +00:00
gestures/tap_and_drag Add an example for TapAndPanGestureRecognizer (#131873) 2023-08-09 19:59:03 +00:00
material Add test for segmented_button.0.dart (#150676) 2024-06-29 06:29:33 +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 example based on the iOS Settings AppBar (#151205) 2024-07-03 20:06:16 +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