1. 30 Sep, 2019 1 commit
  2. 03 Jul, 2019 1 commit
  3. 18 Jun, 2019 1 commit
  4. 11 Jun, 2019 1 commit
  5. 10 May, 2019 1 commit
  6. 09 May, 2019 1 commit
  7. 30 Apr, 2019 1 commit
    • liyuqian's avatar
      Support clipBehavior changes in hot reload (#31761) · 7cab6d5e
      liyuqian authored
      ## Description
      
      Make `_RenderCustomClip`'s `clipBehavior` non-final so we can update it during `updateRenderObject`. This will support `clipBehavior` changes in hot reload.
      
      ## Related Issues
      
      Fixes #30863
      
      ## Tests
      
      I added the following tests:
      
      * ClipRect updates clipBehavior in updateRenderObject
      * ClipRRect updates clipBehavior in updateRenderObject
      * ClipOval updates clipBehavior in updateRenderObject
      * ClipPath updates clipBehavior in updateRenderObject
      * PhysicalModel updates clipBehavior in updateRenderObject
      * PhysicalShape updates clipBehavior in updateRenderObject
      7cab6d5e
  8. 29 Apr, 2019 1 commit
  9. 25 Apr, 2019 2 commits
  10. 24 Apr, 2019 1 commit
  11. 15 Mar, 2019 1 commit
  12. 14 Mar, 2019 2 commits
  13. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  14. 30 Jan, 2019 1 commit
  15. 08 Jan, 2019 1 commit
  16. 23 Dec, 2018 1 commit
  17. 12 Sep, 2018 1 commit
  18. 10 Sep, 2018 1 commit
  19. 24 Aug, 2018 1 commit
  20. 15 Aug, 2018 1 commit
  21. 09 Aug, 2018 1 commit
  22. 02 Aug, 2018 1 commit
  23. 27 Jul, 2018 1 commit
  24. 23 Jul, 2018 1 commit
  25. 16 Jul, 2018 2 commits
  26. 01 Jun, 2018 1 commit
  27. 02 Oct, 2017 1 commit
    • Adam Barth's avatar
      Add Alignment, which will replace FractionalOffset (#12342) · 2b126bcd
      Adam Barth authored
      Unlike FractionalOffset, Alignment uses the center as the zero of the
      coordinate system, which makes the RTL math work out much cleaner.
      
      Also, make FractionalOffset into a subclass of Alignment so that clients
      can continue to use FractionalOffset.
      2b126bcd
  28. 11 Sep, 2017 1 commit
  29. 12 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Move Point to Offset (#9277) · bf017b79
      Ian Hickson authored
      * Manually fix every use of Point.x and Point.y
      
      Some of these were moved to dx/dy, but not all.
      
      * Manually convert uses of the old gradient API
      
      * Remove old reference to Point.
      
      * Mechanical changes
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
      git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
      git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
      git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
      git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
      git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
      git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
      git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
      git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
      git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'
      
      * Mechanical changes - dartdocs
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
      git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'
      
      * Further improvements and a test
      
      * Fix minor errors from rebasing...
      
      * Roll engine
      bf017b79
  30. 09 Dec, 2016 1 commit
  31. 07 Nov, 2016 1 commit
  32. 14 Oct, 2016 1 commit
  33. 27 Sep, 2016 1 commit
  34. 16 Aug, 2016 1 commit
  35. 16 May, 2016 1 commit
    • Ian Hickson's avatar
      Make it possible to run tests live on a device (#3936) · 32527017
      Ian Hickson authored
      This makes it possible to substitute 'flutter run' for 'flutter test'
      and actually watch a test run on a device.
      
      For any test that depends on flutter_test:
      
      1. Remove any import of 'package:test/test.dart'.
      
      2. Replace `testWidgets('...', (WidgetTester tester) {`
            with `testWidgets('...', (WidgetTester tester) async {`
      
      3. Add an "await" in front of calls to any of the following:
          * tap()
          * tapAt()
          * fling()
          * flingFrom()
          * scroll()
          * scrollAt()
          * pump()
          * pumpWidget()
      
      4. Replace any calls to `tester.flushMicrotasks()` with calls to
         `await tester.idle()`.
      
      There's a guarding API that you can use, if you have particularly
      complicated tests, to get better error messages. Search for
      TestAsyncUtils.
      32527017
  36. 04 May, 2016 1 commit
  37. 03 May, 2016 1 commit