1. 11 Jun, 2020 1 commit
  2. 29 May, 2020 1 commit
  3. 28 May, 2020 1 commit
  4. 27 Mar, 2020 1 commit
  5. 03 Mar, 2020 1 commit
  6. 27 Nov, 2019 2 commits
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
    • Greg Spencer's avatar
      Add macOS to TargetPlatform (#43457) · 245d1b51
      Greg Spencer authored
      This PR adds TargetPlatform.macOS to the TargetPlatform enum. This allows us to begin implementation of some adaptive UI based on which target platform is desired.
      
      I haven't updated the tests here, that will come in a follow-up PR.
      245d1b51
  7. 29 Oct, 2019 1 commit
    • Pieter van Loon's avatar
      Improved ios 13 scrollbar fidelity (#41799) · 0120c414
      Pieter van Loon authored
      Drag from the right is no more
      Longpress is now only 100ms instead of 500
      Added optional duration field to longpressgesturerecognizer
      Added controller field to material scrollbar api
      Haptic feedback only triggers when scrollbar is fully expanded
      Added haptic feedback when releasing the scrollbar after dragging it
      0120c414
  8. 24 Sep, 2019 1 commit
  9. 20 Aug, 2019 1 commit
  10. 13 Jun, 2019 1 commit
  11. 29 May, 2019 1 commit
    • LongCatIsLooong's avatar
      Fix ScrollbarPainter thumbExtent calculation and add padding (#31763) · 22ea031e
      LongCatIsLooong authored
      - Fixed extentInside calculation in ScrollMetrics
      - Added asserts to extentInside getter, as well as ScrollPosition.applyContentDimensions to enforce minScrollExtent <= maxScrollExtent
      - Added padding to ScrollbarPainter, updated implementation. Took care of some edge cases.
      - Changed some scroll bar constants on Cupertino side.
      22ea031e
  12. 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
  13. 12 Sep, 2018 1 commit
  14. 02 Aug, 2018 1 commit
  15. 27 Jul, 2018 1 commit
  16. 23 Jul, 2018 1 commit
  17. 16 Jul, 2018 2 commits
  18. 04 Jul, 2018 1 commit
  19. 03 May, 2018 1 commit
  20. 22 Dec, 2017 1 commit
    • xster's avatar
      Add Cupertino scrollbar (#13290) · 4fcdb50d
      xster authored
      * Create CupertinoScrollbar
      
      * handle main axis margin
      
      * Adaptive material scrollbar and tests
      
      * Small tweaks
      
      * reapply changes on head
      
      * Docs
      
      * start
      
      * Refactored ScrollbarPainter to be more immutable
      
      * fix tests
      
      * fix bug: one animationcontroller pointed to multiple painters
      
      * some docs tweak
      
      * remove unused import
      
      * review
      
      * review
      
      * add dispose
      4fcdb50d
  21. 21 Dec, 2017 1 commit
  22. 05 Dec, 2017 1 commit
  23. 30 Aug, 2017 1 commit
  24. 03 Jun, 2017 1 commit
  25. 24 May, 2017 1 commit
  26. 26 Apr, 2017 1 commit
  27. 25 Apr, 2017 1 commit
  28. 21 Apr, 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. 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
  31. 14 Mar, 2017 1 commit
  32. 18 Feb, 2017 1 commit
  33. 17 Feb, 2017 1 commit
    • Adam Barth's avatar
      Two becomes one (#8253) · e0b12ca1
      Adam Barth authored
      Rename all the "2" classes related to scrolling to remove the "2". Now that the
      old scrolling code is gone, we don't need to use the suffix.
      e0b12ca1
  34. 14 Feb, 2017 2 commits
  35. 03 Feb, 2017 1 commit
    • Adam Barth's avatar
      Reparameterize Scrollable2 (#7853) · 072cce88
      Adam Barth authored
      This patch makes a number of changes to how you can configure a
      Scrollable2:
      
       - The ScrollPhysics is now responsible for creating the ScrollPosition.
         You can override the ScrollPhysics by supplying a `physics` argument
         to `Scrollable`, and the new physics you supply will be applied to
         the default physics inherited from the ScrollBehavior.
      
       - This patch removes the ScrollPosition/AbsoluteScrollPosition split as
         all clients were operating in pixels anyway and the split made the
         code very difficult to follow.
      
       - ScrollPosition no longer depends directly on Scrollable2State.
         Instead, it depends on an abstract interface that Scrollable2State
         implements. This change has two benefits:
      
          a) It removes the circular dependency between ScrollPosition and
             Scrollable2State, which lets us split the code for these classes
             (and several other classes that got wrapped up in that cycle) into
             separate libraries for easier maintenance.
      
          b) ScrollPosition is no longer bound to Scrollable2, which means you
             could use the behavior machinery to drive other sorts of widgets.
             For example, we could use it to drive Scrollabe1 if we wanted.
      072cce88
  36. 26 Jan, 2017 1 commit
  37. 26 Sep, 2016 1 commit
    • Ian Hickson's avatar
      Turn off AnimationControllers when not in use (#5902) · 9e673853
      Ian Hickson authored
      This requires all AnimationController objects to be given a
      TickerProvider, a class that can create the Ticker.
      
      It also provides some nice mixins for people who want to have their
      State provide a TickerProvider. And a schedulerTickerProvider for those
      cases where you just want to see your battery burn.
      
      Also, we now enforce destruction order for elements.
      9e673853