1. 26 Jan, 2024 3 commits
    • Michael Goderbauer's avatar
      Relands "Add runWidget to bootstrap a widget tree without a default View" (#142344) · 671d8eaf
      Michael Goderbauer authored
      Reverts flutter/flutter#142339
      
      In the original change one of the tests included the same view twice which resulted in a different failure than the expected one. The second commit contains the fix for this. I don't understand how this wasn't caught presubmit on CI.
      671d8eaf
    • auto-submit[bot]'s avatar
      Reverts "Add runWidget to bootstrap a widget tree without a default View" (#142339) · 114261a6
      auto-submit[bot] authored
      Reverts flutter/flutter#141484
      Initiated by: eliasyishak
      This change reverts the following previous change:
      Original Description:
      The existing `runApp` bootstraps the widget tree and renders the provided widget into the default view (which is currently the implicit View from `PlatformDispatcher.implicitView` and - in the future - may be a default-created window). Apps, that want more control over the View they are rendered in, need a new way to bootstrap the widget tree: `runWidget`. It does not make any assumptions about the View the provided widget is rendered into. Instead, it is up to the caller to include a View widget in the provided widget tree that specifies where content should be rendered. In the future, this may enable developers to create a custom window for their app instead of relying on the default-created one.
      114261a6
    • Michael Goderbauer's avatar
      Add runWidget to bootstrap a widget tree without a default View (#141484) · 5b44596c
      Michael Goderbauer authored
      The existing `runApp` bootstraps the widget tree and renders the provided widget into the default view (which is currently the implicit View from `PlatformDispatcher.implicitView` and - in the future - may be a default-created window). Apps, that want more control over the View they are rendered in, need a new way to bootstrap the widget tree: `runWidget`. It does not make any assumptions about the View the provided widget is rendered into. Instead, it is up to the caller to include a View widget in the provided widget tree that specifies where content should be rendered. In the future, this may enable developers to create a custom window for their app instead of relying on the default-created one.
      5b44596c
  2. 20 Dec, 2023 1 commit
  3. 14 Aug, 2023 1 commit
  4. 10 Aug, 2023 1 commit
    • pdblasi-google's avatar
      Adds SemanticsNode Finders for searching the semantics tree (#127137) · 5df1c996
      pdblasi-google authored
      * Pulled `FinderBase` out of `Finder`
        * `FinderBase` can be used for any object, not just elements
        * Terminology was updated to be more "find" related
      * Re-implemented `Finder` using `FinderBase<Element>`
        * Backwards compatibility maintained with `_LegacyFinderMixin`
      * Introduced base classes for SemanticsNode finders
      * Introduced basic SemanticsNode finders through `find.semantics`
      * Updated some relevant matchers to make use of the more generic `FinderBase`
      
      Closes #123634
      Closes #115874
      5df1c996
  5. 01 Jun, 2023 1 commit
  6. 20 Apr, 2023 1 commit
    • Nate Bosch's avatar
      Remove uses of deprecated test_api imports (#124732) · dcfd35f8
      Nate Bosch authored
      Most of these imports were never appropriate. The `test_api` package was never intended for use in `_test.dart` files.
      Where possible move imports to `matcher`, otherwise move them to `test` or `flutter_test`.
      
      Leave uses of `test_api` from `flutter_test` library code.
      dcfd35f8
  7. 13 Feb, 2023 1 commit
  8. 02 Feb, 2023 1 commit
  9. 25 Jan, 2023 1 commit
  10. 26 Oct, 2022 1 commit
  11. 14 Oct, 2022 1 commit
  12. 10 Oct, 2022 1 commit
  13. 11 Aug, 2022 1 commit
  14. 03 Aug, 2022 1 commit
  15. 22 Jun, 2022 1 commit
  16. 25 May, 2022 1 commit
  17. 24 May, 2022 1 commit
  18. 19 May, 2022 1 commit
  19. 27 Apr, 2022 1 commit
  20. 30 Mar, 2022 1 commit
  21. 03 Feb, 2022 1 commit
  22. 13 Jan, 2022 1 commit
  23. 08 Oct, 2021 3 commits
  24. 09 Aug, 2021 1 commit
  25. 03 Aug, 2021 1 commit
  26. 22 Jul, 2021 1 commit
  27. 20 Jul, 2021 1 commit
  28. 15 Jul, 2021 1 commit
  29. 14 Jul, 2021 3 commits
  30. 13 Jul, 2021 2 commits
  31. 01 Jul, 2021 1 commit
  32. 02 Jun, 2021 1 commit
    • Tong Mu's avatar
      Test WidgetTester handling test pointers (#83337) · e3da1bd7
      Tong Mu authored
      Adds tests to the following behaviors, which have existed without tests:
      
      - When tapping during live testing, a message is printed with widgets that contain the tap location.
      - When tapping during live testing, a mark is displayed on screen on the tap location.
      e3da1bd7
  33. 27 May, 2021 1 commit