flutter/examples/api/lib
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
..
animation/curves Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
cupertino Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
gestures Add an example for TapAndPanGestureRecognizer (#131873) 2023-08-09 19:59:03 +00:00
material Enable strict-inference (#135043) 2023-09-20 19:59:08 +00:00
painting [flutter roll] Revert "LinkedText (Linkify)" (#134955) 2023-09-18 19:49:10 +00:00
rendering An example of parentData usage. (#131818) 2023-08-10 19:40:06 +00:00
sample_templates Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
services Move examples to ListenableBuilder (#130671) 2023-07-17 21:06:15 +00:00
ui/text Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
widgets Fix PageView API doc sample fails on Desktop and Web (#135910) 2023-10-12 17:28:13 +00:00