1. 08 Nov, 2018 1 commit
  2. 05 Nov, 2018 1 commit
    • Greg Spencer's avatar
      Rewrite the analyze-sample-code script to also analyze snippets (#23893) · 202b045b
      Greg Spencer authored
      This rewrites the sample code analysis script to be a little less of a hack (but still not pretty), and to handle snippets as well.
      
      It also changes the semantics of how sample code is handled: the namespace for the sample code is now limited to the file that it appears in, so some additional "Examples can assume:" blocks were added. The upside of this is that there will be far fewer name collisions.
      
      I fixed the output too: no longer will you get 4000 lines of numbered output with the error at the top and have to grep for the actual problem. It gives the filename and line number of the original location of the code (in the comment in the tree), and prints out the source code on the line that caused the problem along with the error.
      
      For snippets, it prints out the location of the start of the snippet and the source code line that causes the problem. It can't print out the original line, because snippets get formatted when they are written, so the line might not be in the same place.
      202b045b
  3. 23 Sep, 2018 1 commit
  4. 14 Sep, 2018 1 commit
  5. 12 Sep, 2018 1 commit
  6. 07 Sep, 2018 1 commit
  7. 02 Aug, 2018 1 commit
  8. 27 Jul, 2018 1 commit
  9. 23 Jul, 2018 1 commit
  10. 16 Jul, 2018 2 commits
  11. 13 Jun, 2018 1 commit
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
  12. 11 Jun, 2018 1 commit
    • Greg Spencer's avatar
      Update typedef syntax to use Function notation and turn on lint for old notation. (#18362) · 6c56bb24
      Greg Spencer authored
      Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.
      
      Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.
      
      No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
      6c56bb24
  13. 05 Jun, 2018 1 commit
  14. 30 May, 2018 2 commits
  15. 03 May, 2018 1 commit
  16. 16 Apr, 2018 1 commit
    • Greg Spencer's avatar
      Rename AnimatedChildSwitcher to AnimatedSwitcher (#16551) · 6c049ec2
      Greg Spencer authored
      We don't really like the name AnimatedChildSwitcher, and we think that AnimatedSwitcher might be better (since the Child part is redundant). We also considered AnimatedChild, AnimatedTransition and AnimatedReplacement (among others).
      
      Nothing in here besides a rename.
      6c049ec2
  17. 12 Apr, 2018 1 commit
    • Greg Spencer's avatar
      Fix a bug in the AnimatedChildSwitcher, add builders. (#16250) · c73b8a7c
      Greg Spencer authored
      This fixes a rendering problem in the AnimatedChildSwitcher where it would add a new "previous" child each time it rebuilt, and if you did it fast enough, all of them would disappear from the page.
      
      It also expands the API for AnimatedChildSwitcher to allow you to specify your own transition and/or layout builder for the transition.
      
      Fixes #16226
      c73b8a7c
  18. 20 Mar, 2018 1 commit
  19. 10 Mar, 2018 1 commit
  20. 14 Dec, 2017 1 commit
  21. 16 Nov, 2017 1 commit
    • Ian Hickson's avatar
      ExpansionPanel animation fixes (#13032) · c97fc206
      Ian Hickson authored
      Previously, ExpansionPanel would do weird things if interacted with
      when it was already animating. This is fixed and there's now a test.
      
      Also:
      
       * Minor fixes to make the gallery work in RTL, not that there's
         any way to see that without hard-coding the framework to RTL.
         But at least I'll be less annoyed when doing that.
      
       * Some trivial code and documentation cleanup.
      c97fc206
  22. 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
  23. 05 Sep, 2017 1 commit
  24. 03 Aug, 2017 1 commit
  25. 25 Jul, 2017 1 commit
  26. 21 Jul, 2017 1 commit
    • Ian Hickson's avatar
      AnimatedCrossFade layout customisation (#11343) · 1f08bda3
      Ian Hickson authored
      * Optimise AnimatedSize for the tight case.
      * Remove `default` from a switch statement over enum (so that analyzer will complain if we add enum values).
      * Adopt the Size since we use it after the child may have changed (which would throw normally).
      * AnimatedCrossFade.layoutBuilder
      1f08bda3
  27. 19 Jul, 2017 2 commits
  28. 13 Jun, 2017 1 commit
  29. 12 Jun, 2017 1 commit
  30. 06 Jun, 2017 1 commit
  31. 12 May, 2017 1 commit
  32. 06 May, 2017 1 commit
  33. 05 May, 2017 1 commit
  34. 23 Apr, 2017 1 commit
  35. 19 Apr, 2017 1 commit
  36. 11 Apr, 2017 1 commit
    • xster's avatar
      Rename State.config to widget everywhere (#9273) · 89a7fdfc
      xster authored
      Rename State.config to State.widget
      Rename State.didUpdateConfig to State.didUpdateWidget
      Renamed all State subclasses' local variables named config to something else
      89a7fdfc
  37. 17 Mar, 2017 1 commit