flutter/examples/api/test/widgets
huycozy e8a0cf3ae8
Fix PageView API doc sample fails on Desktop and Web (#135910)
### Description

This PR aims to improve/fix the PageView API doc sample for Web and Desktop platforms. On these platforms, mouse dragging gestures do not provide natural behavior similar to other desktop applications. This PR will add navigation buttons (indicators) so users can interact with the demo.

### Related issue

Fixes https://github.com/flutter/flutter/issues/135188

### Demo video

https://github.com/flutter/flutter/assets/104349824/0f9c60bd-8b18-404e-b5b6-1d594604de31
2023-10-12 17:28:13 +00:00
..
actions Fix Action.overridable example (#110824) 2022-09-02 00:46:21 +00:00
animated_grid Add SliverAnimatedGrid and AnimatedGrid (#112982) 2022-10-07 22:15:11 +00:00
animated_list Fix gets removedItem instead of its index (#119638) 2023-02-03 00:15:58 +00:00
app Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
app_lifecycle_listener Add AppLifecycleListener, with support for application exit handling (#123274) 2023-06-08 22:57:19 +00:00
basic Fix MultiChildLayoutDelegate.hasChild doc (#126433) 2023-05-11 14:59:07 +00:00
binding Add AppLifecycleListener, with support for application exit handling (#123274) 2023-06-08 22:57:19 +00:00
editable_text Deprecate these old APIs (#116793) 2023-04-06 19:53:50 +00:00
form Reland root predictive back (#132249) 2023-08-17 23:55:05 +00:00
gesture_detector Remove "note that" in our documentation (as per style guide) (#120842) 2023-02-17 22:27:33 +00:00
hardware_keyboard Explain the "patching" protocol in KeyMessageManager.keyMessageHandler and add an example (#105280) 2022-07-26 05:42:05 +00:00
heroes Dev, examples/api, etc updated for Material 3 by default (#129683) 2023-06-28 09:41:58 -07:00
implicit_animations Dev, examples/api, etc updated for Material 3 by default (#129683) 2023-06-28 09:41:58 -07:00
inherited_model InheritedModel: Add a complete interactive example and update snippet for null safety (#104174) 2022-05-30 06:13:10 -07:00
interactive_viewer Update example code and docs for InteractiveViewer.builder (#98623) 2022-02-16 17:25:17 -08:00
layout_builder Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
magnifier Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
navigator_pop_handler Reland root predictive back (#132249) 2023-08-17 23:55:05 +00:00
overlay Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
page_view Fix PageView API doc sample fails on Desktop and Web (#135910) 2023-10-12 17:28:13 +00:00
pop_scope Reland root predictive back (#132249) 2023-08-17 23:55:05 +00:00
routes Update PopupRoute docs and add an example (#106948) 2022-07-12 08:59:05 +00:00
scroll_notification_observer Add ScrollNotificationObserver sample (#127023) 2023-05-25 15:58:52 +00:00
scroll_position Add ScrollController.onAttach & onDetach, samples/docs on listening/getting scrolling info (#124823) 2023-05-15 21:01:06 +00:00
scroll_view GridView sample code (#131900) 2023-08-10 20:53:05 +00:00
scrollbar Add an example for how to hide default scrollbar on desktop platform. (#108542) 2022-08-18 13:09:23 +00:00
shortcuts Add CallbackShortcuts example (#123944) 2023-04-05 22:17:59 +00:00
sliver Sliver Main Axis Group (#126596) 2023-06-08 15:54:09 -07:00
slotted_render_object_widget
tap_region Replace FocusTrap with TapRegionSurface (#107262) 2022-07-29 16:00:07 +00:00
text Add one DefaultTextStyle example (#122182) 2023-03-08 20:40:54 +00:00
text_magnifier Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
transitions Fix sample code crash, add test (#133812) 2023-08-31 22:56:06 +00:00
navigator_utils.dart Reland root predictive back (#132249) 2023-08-17 23:55:05 +00:00