1. 23 Apr, 2017 1 commit
  2. 21 Apr, 2017 1 commit
  3. 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
  4. 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
  5. 06 Apr, 2017 1 commit
  6. 04 Apr, 2017 1 commit
  7. 20 Mar, 2017 2 commits
  8. 08 Mar, 2017 1 commit
  9. 04 Mar, 2017 1 commit
  10. 28 Feb, 2017 1 commit
  11. 18 Feb, 2017 1 commit
  12. 16 Feb, 2017 1 commit
  13. 13 Feb, 2017 1 commit
  14. 30 Jan, 2017 1 commit
  15. 25 Jan, 2017 1 commit
    • Adam Barth's avatar
      Add a sliver-based ScrollView (#7627) · eba5fb1a
      Adam Barth authored
      This patch introduces ScrollView, which is a convenience widget for using a
      SliverBlock. This patch also switches a number of tests from Block to
      ScrollView. Once we support more features of block (e.g., padding and
      shrinkwrapping), we'll be able to move over more clients.
      eba5fb1a
  16. 19 Jan, 2017 1 commit
    • Adam Barth's avatar
      InkSplash and InkHighlight shouldn't be special (#7531) · 9f36737f
      Adam Barth authored
      Previously, these classes where in material.dart, which meant they could
      access private interfaces in that library. This patch moves them out
      into their own files so that they need to play by the rules of the
      public API.
      
      Fixes #5969
      9f36737f
  17. 19 Nov, 2016 1 commit
  18. 12 Nov, 2016 1 commit
  19. 03 Nov, 2016 2 commits
  20. 24 Oct, 2016 1 commit
  21. 23 Oct, 2016 1 commit
  22. 16 Oct, 2016 1 commit
  23. 06 Oct, 2016 1 commit
  24. 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
  25. 20 Sep, 2016 1 commit
  26. 02 Sep, 2016 1 commit
  27. 18 Aug, 2016 1 commit
  28. 11 Aug, 2016 1 commit
  29. 08 Aug, 2016 1 commit
    • Dragoș Tiselice's avatar
      Material fixes (#5293) · e1ebc41a
      Dragoș Tiselice authored
      * Added return value to a onNotification callback.
      
      The LayoutChangedNotification callback was missing a return value.
      This commit changes it to return true and stop notification from
      bubbling up the tree.
      
      * Changed _RenderInkFeatures to use fresh clip box.
      
      Since it wasn't using the most current value of the RenderBox's
      size, _RenderInkFeatures was rendering splashes incorrectly when
      the underlying Material size was animating. This commit changes
      the clip reference to use the size of the Renderbox instead of
      the size method in order to get the newest value.
      e1ebc41a
  30. 29 Jul, 2016 1 commit
    • Dragoș Tiselice's avatar
      Added BorderRadius. (#5072) · f3444fcf
      Dragoș Tiselice authored
      * Added custom radii to RRect.
      
      This is the first commit towads an implementation of
      MergeableMaterial. It adds custom radii to RRect.
      
      * Renamed RRect constructors and added BorderRadius.
      
      BorderRadius is a class similar to EdgeInsets that lets you define
      all rounded corners of a rounded rectangle easily.
      f3444fcf
  31. 03 Jun, 2016 1 commit
  32. 25 May, 2016 1 commit
  33. 12 May, 2016 1 commit
  34. 04 May, 2016 1 commit
    • Adam Barth's avatar
      Add missing dartdocs from material.dart (#3709) · 7712e583
      Adam Barth authored
      Making progress towards document all public APIs in material.dart. We're still
      missing a few odds and ends (as well as missing docs in tabs.dart,
      tooltip.dart, and two_level_list.dart).
      7712e583
  35. 22 Apr, 2016 1 commit
  36. 15 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Material Data Tables (#3337) · a91bc0ba
      Ian Hickson authored
      + Add new demo to gallery to show data tables. (This currently doesn't
      use a Card; I'll create a Card version in a subsequent patch.)
      
      + Fix checkbox alignment. It now centers in its box regardless.
      
      + Add Colors.black54.
      
      + Some minor fixes to dartdocs.
      
      + DataTable, DataColumn, DataRow, DataCell
      
      + RowInkWell
      
      + Augment dartdocs of materia/debug.dart.
      
      + DropDownButtonHideUnderline to hide the underline in a drop-down when
        used in a DataTable.
      
      + Add new capabilities to InkResponse to support RowInkWell.
      
      + Augment dartdocs of materia/material.dart.
      
      + Add an assert to catch nested Blocks.
      
      + Fix a crash in RenderBox when you remove an object and an ancestor
        used its baseline. (https://github.com/flutter/flutter/issues/2874)
      
      + Fix (and redocument) RenderBaseline/Baseline.
      
      + Add flex support to IntrinsicColumnWidth.
      
      + Document more stuff on the RenderTable side.
      
      + Fix a bug with parentData handling on RenderTable children.
      
      + Completely rewrite the column width computations. The old logic made
        no sense at all.
      
      + Add dartdocs to widgets/debug.dart.
      
      + Add a toString for TableRow.
      a91bc0ba
  37. 14 Apr, 2016 1 commit
  38. 12 Apr, 2016 1 commit