1. 06 Oct, 2023 1 commit
  2. 09 Jun, 2023 1 commit
    • Tong Mu's avatar
      Remove single view assumption from MouseTracker, and unify its hit testing code flow (#127060) · ab3c5bfc
      Tong Mu authored
      This is a refactor to make `MouseTracker` use the same callback for both kinds of device update. Instead of using two different callbacks for the two device updating methods, `MouseTracker` now receives a hit testing callback at construction, which is the same hit testing method as the one used for other gestures.
      
      This PR not only makes the code cleaner, but also removes the single view assumption from `MouseTracker`, whose code no longer refers to `RendererBinding.renderView`. In the future, we only need to modify `hitTest` (which we will have to do to support gestures for multi-view anyway) to make mouse tracker support multi-view.
      ab3c5bfc
  3. 21 Jan, 2023 1 commit
  4. 11 Dec, 2022 1 commit
  5. 02 Sep, 2022 1 commit
  6. 17 Jun, 2022 1 commit
  7. 02 Jun, 2022 1 commit
  8. 25 May, 2022 1 commit
  9. 06 May, 2022 1 commit
  10. 04 May, 2022 2 commits
  11. 26 Jan, 2022 1 commit
  12. 25 Jan, 2022 1 commit
  13. 12 Jun, 2021 1 commit
  14. 02 Jun, 2021 1 commit
  15. 31 Mar, 2021 1 commit
  16. 12 Mar, 2021 1 commit
  17. 17 Nov, 2020 1 commit
  18. 08 Oct, 2020 1 commit
  19. 05 Oct, 2020 1 commit
  20. 27 Aug, 2020 1 commit
  21. 20 Aug, 2020 1 commit
  22. 06 Aug, 2020 1 commit
  23. 28 Jul, 2020 1 commit
  24. 13 Jul, 2020 1 commit
  25. 11 Jun, 2020 2 commits
  26. 14 May, 2020 1 commit
    • Tong Mu's avatar
      MouseCursor uses a special class instead of null to defer (#57094) · 5fa1c60b
      Tong Mu authored
      * Uses a special cursor value MouseCursor.defer to mark deferring. MouseTrackerAnnotation.cursor is now non-null. The mouseCursor argument of widgets or render objects can be null, which indicates using the default value.
      * Moves SystemMouseCursors.uncontrolled to MouseCursor.uncontrolled.
      * Changes how MouseCursor.debugDescription is defined. Previously MouseCursor.toString returns $runtimeType($debugDescription), while now it returns $debugDescription. Implementations of classes are updated, except for the ones of MouseCursor.defer and MouseCursor.uncontrolled are simply "defer" and "uncontrolled".
      5fa1c60b
  27. 11 May, 2020 1 commit
    • Tong Mu's avatar
      System mouse cursors (#54171) · 7f8cb7f8
      Tong Mu authored
      Adds the basic framework for the mouse cursor system. 
      
      * Adds MouseRegion.cursor
      * Adds SystemMouseCursors
      * Adds mouseCursor to some widgets
      7f8cb7f8
  28. 20 Mar, 2020 1 commit
  29. 11 Mar, 2020 1 commit
    • Greg Spencer's avatar
      Convert Diagnosticable to a mixin (#51495) · 210f4d83
      Greg Spencer authored
      This converts Diagnosticable to be a mixin instead of an abstract class, so that it can be used to add diagnostics to classes which already have a base class.
      
      It leaves in place the DiagnosticableMixin mixin, since there are some plugins that are still using it, and removing it would mean that those plugins wouldn't work with master branch Flutter anymore. DiagnosticableMixin will be removed once this mixin version of Diagnosticable makes its way to the stable branch.
      210f4d83
  30. 31 Jan, 2020 1 commit
  31. 28 Jan, 2020 2 commits
  32. 24 Jan, 2020 2 commits
  33. 07 Jan, 2020 1 commit
  34. 19 Dec, 2019 3 commits