1. 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
  2. 21 Feb, 2019 1 commit
  3. 23 Jan, 2019 1 commit
  4. 09 Jan, 2019 1 commit
  5. 08 Jan, 2019 1 commit
  6. 07 Jan, 2019 1 commit
  7. 16 Oct, 2018 1 commit
  8. 01 Oct, 2018 1 commit
  9. 14 Sep, 2018 1 commit
  10. 12 Sep, 2018 1 commit
  11. 02 Aug, 2018 1 commit
  12. 27 Jul, 2018 1 commit
  13. 23 Jul, 2018 1 commit
  14. 16 Jul, 2018 2 commits
  15. 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
  16. 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
  17. 05 Jun, 2018 1 commit
  18. 30 May, 2018 2 commits
  19. 03 May, 2018 1 commit
  20. 07 Mar, 2018 1 commit
    • Josh Soref's avatar
      Spelling (#15229) · c5a5945e
      Josh Soref authored
      * spelling: accommodate
      
      * spelling: allotted
      
      * spelling: anonymous
      
      * spelling: artificial
      
      * spelling: associated
      
      * spelling: asset
      
      * spelling: button
      
      * spelling: canvas
      
      * spelling: compatibility
      
      * spelling: coverage
      
      * spelling: condition
      
      * spelling: decoration
      
      * spelling: deferring
      
      * spelling: diameter
      
      * spelling: direction
      
      * spelling: displacement
      
      * spelling: dropdown
      
      * spelling: needing
      
      * spelling: environment
      
      * spelling: exited
      
      * spelling: expansion
      
      * spelling: explore
      
      * spelling: families
      
      * spelling: horizontal
      
      * spelling: increment
      
      * spelling: indices
      
      * spelling: internationalization
      
      * spelling: labrador
      
      * spelling: localizations
      
      * spelling: midflight
      
      * spelling: milliseconds
      
      * spelling: minimum
      
      * spelling: multiple
      
      * spelling: multiplication
      
      * spelling: navigator
      
      * spelling: overridden
      
      * spelling: package
      
      * spelling: performance
      
      * spelling: platform
      
      * spelling: porsche
      
      * spelling: position
      
      * spelling: preceded
      
      * spelling: precede
      
      * spelling: precedence
      
      * spelling: print
      
      * spelling: property
      
      * spelling: readily
      
      * spelling: reproducibility
      
      * spelling: rounded
      
      * spelling: scroll
      
      * spelling: separate
      
      * spelling: separator
      
      * spelling: services
      
      * spelling: specific
      
      * spelling: specify
      
      * spelling: synchronously
      
      * spelling: through
      
      * spelling: timeout
      
      * spelling: triangle
      
      * spelling: trivial
      
      * spelling: unusual
      
      * spelling: then
      
      * spelling: vertically
      
      * spelling: visible
      
      * spelling: visited
      
      * spelling: voice
      c5a5945e
  21. 02 Feb, 2018 1 commit
  22. 01 Feb, 2018 1 commit
  23. 30 Jan, 2018 1 commit
    • Ankur Kedia's avatar
      adds properties to dismissible widget (#14162) · 47e52b82
      Ankur Kedia authored
      * adds crossAxisEndOffset and rollbackDuration properties to dismissible widget
      
      * re-added removed license comment
      
      * corrected license comments
      
      * Adds test for rollbackDuration and crossAxisEndOffset
      
      * added tests and comments
      
      * modified tests for dismissible widgets
      47e52b82
  24. 11 Jan, 2018 1 commit
  25. 22 Nov, 2017 1 commit
    • Ian Hickson's avatar
      Dismissible RTL (#13137) · 2db0c25f
      Ian Hickson authored
      Fix the dismissible demo in the gallery (make it actuall update when you pick something from its menu; give it a better affordance for resetting once you've dismissed everything).
      
      Improve some docs.
      
      Fix various flinging bugs with dismissible. Add tests for those cases.
      
      Add a feature to flutter_test to support a drag-then-fling gesture (used by the flinging tests).
      2db0c25f
  26. 24 Sep, 2017 1 commit
  27. 07 Sep, 2017 1 commit
  28. 31 Aug, 2017 1 commit
  29. 21 Apr, 2017 1 commit
  30. 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
  31. 07 Apr, 2017 1 commit
  32. 20 Mar, 2017 1 commit
  33. 17 Mar, 2017 1 commit
  34. 04 Mar, 2017 1 commit
  35. 12 Feb, 2017 1 commit
    • Adam Barth's avatar
      Convert dismissable_test.dart to ListView (#8078) · 749a09db
      Adam Barth authored
      This test was a bit tricky to convert because it subtly relied upon the
      lazy evaluation of an Iterable.
      
      The onDismissed from Dismissable happens during the animation phase of
      the pipeline. Previously, the ScrollableList had already been built for
      that frame but had not evaluated its Iterable yet. When we got to the
      layout phase, ScrollableList evaluated its Iterable and saw the updated
      version of dismissedItems.
      
      A straightforward conversion to ListView calls toList() when building
      the ListView, but that evaluates the iterable when buildTest() is
      called, which is before the calls to pump and therefore before the
      animation phase, meaning the Iterable sees the old value of
      dismissedItems.
      
      This patch fixes the test to use the normal setState pattern to signal
      that state upon which the build depends has changed. Now, the
      onDismissed callback happens during the animation phase and the
      StatefulBuilder is marked as dirty via setState, which causes it to
      rebuild the ListView and re-evaluate the Iterable, seeing the updated
      version of dismissedItems.
      
      This change also lets us replace the gratuious use of pumpWidget with
      pump now that we use setState rather than pumpWidget to trigger a
      rebuild.
      749a09db
  36. 09 Feb, 2017 2 commits
  37. 09 Dec, 2016 1 commit