1. 28 Sep, 2021 1 commit
    • Greg Spencer's avatar
      Add smoke tests for all the examples, fix 17 broken examples. (#89021) · ab2b0851
      Greg Spencer authored
      This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.
      
      The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.
      
      The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
      ab2b0851
  2. 25 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Extract Sample code into examples/api (#87280) · 33403bd2
      Greg Spencer authored
      This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
      33403bd2
  3. 20 Oct, 2020 1 commit
  4. 19 Oct, 2020 1 commit
  5. 02 Sep, 2020 1 commit
  6. 08 Jun, 2020 2 commits
  7. 03 Jun, 2020 2 commits
  8. 18 Dec, 2018 1 commit
  9. 20 Aug, 2018 1 commit
    • Amir Hardon's avatar
      Integration test for embeded Android Views touch support. · 72ef4485
      Amir Hardon authored
      The test places an embedded Android view at the top left, and verifies
      that motion events that get to FlutterView are equivalent to the
      synthesized motion events that gets to the embedded view.
      
      See the README.md for more high level details.
      72ef4485
  10. 03 May, 2017 1 commit
  11. 27 Apr, 2017 1 commit
  12. 09 Mar, 2017 1 commit
  13. 05 Aug, 2016 1 commit
  14. 06 Jul, 2016 1 commit
  15. 29 May, 2016 1 commit