7 Commits

Author SHA1 Message Date
58571141bc docs: Added ability to create infobox-style widgets in the documentation (#1771)
Additional mode "infobox" allows Flutter widgets to be inserted into the generated documentation site as wikipedia-style infoboxes floating on the right. This is useful for presenting content to the user up-front without sacrificing the flow of the exposition. For example, currently the Tap Events demo is "hidden" in the middle of a long page.

We believe that presenting the content in this way would make the user more excited to read about it.
2022-07-02 01:02:19 +02:00
2711ba60c2 feat: Implement tap events based on componentsAtPoint (#1661)
This PR adds a new event system based on the componentsAtPoint delivery mechanism. These events allow for a proper support of components that implement renderTree() method. The CameraComponent is one such component, with more planned in the future.

Additionally, the following improvements compared to the current tap events added:

    - the same component can be tapped with multiple fingers simultaneously;
    - a component that received onTapDown is guaranteed to receive onTapUp or onTapCancel later;
    - a component that moves away from the point of touch will receive onTapCancel instead of onTapUp (even though the game widget receives onTapUp from Flutter).

Due to the fact that the switch from the current event system to the new event system is potentially a significant breaking change, the new event system is introduced as parallel to the existing one. This way we have more time to test the new system before recommending the switch and deprecating the old one; and the switch itself should feel more gradual.
2022-06-06 15:37:01 +00:00
cf393761a1 docs: Chapter 3 of the Klondike game tutorial (#1515) 2022-04-11 21:27:54 +00:00
0e91f5ca4d docs: Flutter-app directive can now also show the listings of code (#1500) 2022-03-29 21:43:06 +02:00
167396142e docs: Take PUBLISH_PATH into account when building docs (#1499) 2022-03-28 11:23:03 +02:00
87031b3e5f docs: Tutorial for making a Klondike card game, steps 1 & 2 (#1477) 2022-03-27 20:53:42 +00:00
2935a6a55d feat: Create sphinx extension for integrating Flutter apps into the documentation site (#1393) 2022-02-27 21:25:33 +00:00