1. 23 Apr, 2017 1 commit
  2. 19 Apr, 2017 1 commit
  3. 17 Apr, 2017 1 commit
  4. 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
  5. 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
  6. 07 Apr, 2017 1 commit
  7. 31 Mar, 2017 1 commit
  8. 04 Mar, 2017 1 commit
  9. 24 Feb, 2017 1 commit
    • Adam Barth's avatar
      Add a `color` argument to `Container`. (#8396) · f20c3d10
      Adam Barth authored
      It's common to just want a simple colored box. Simple thing should be simple,
      so this patch adds a convenience argument to Continer for creating a box
      decoration that is just a color.
      
      Fixes #5555
      f20c3d10
  10. 23 Feb, 2017 3 commits
  11. 10 Jan, 2017 1 commit
    • Adam Barth's avatar
      Change `Flexible`'s default `FlexFit` (#7404) · 03d19807
      Adam Barth authored
      Change `Flexible`'s default `FlexFit`
      
      Previously, `Flexible` defaulted to `FlexFit.tight`, which forced the child to
      expand to fill the available space. Now, `Flexible` defaults to
      `FlexFit.loose`, which does not force the child to expand to fill the available
      space.
      
      If you want the child to expand to fill the available space, consider using
      `Expanded` instead.
      
      Fixes #5169
      03d19807
  12. 22 Nov, 2016 1 commit
    • Adam Barth's avatar
      Rename Flexible to Expanded and improve docs (#6978) · 8ca4caa4
      Adam Barth authored
      This patch replaces uses of Flexible with Expanded where we're using
      FlexFit.tight. We still need to think of a better name for the
      FlexFit.loose variant.
      
      Also, improve the docs for Row, Column, Flex, and RenderFlex to be more
      problem-oriented and to give a complete account of the layout algorithn.
      
      Fixes #6960
      Fixes #5169
      8ca4caa4
  13. 19 Nov, 2016 1 commit
  14. 10 Nov, 2016 1 commit
    • Chris Bracken's avatar
      Add accentTextTheme and accentIconTheme to ThemeData (#6808) · d0ff41ec
      Chris Bracken authored
      These define a TextTheme and IconTheme that contrast with the accent
      colour brightness. Also adjust default accentColorBrightness to match
      Material spec examples (dark text/icons on teal in Dark theme).
      
      Update material components to use accentTextTheme, accentIconTheme:
      * DatePicker selection
      * Floating action button icon
      * TimePicker selection
      * Slider label text
      d0ff41ec
  15. 02 Nov, 2016 1 commit
  16. 01 Nov, 2016 1 commit
  17. 23 Oct, 2016 2 commits
  18. 14 Oct, 2016 1 commit
  19. 03 Oct, 2016 1 commit
  20. 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
  21. 20 Sep, 2016 1 commit
  22. 15 Sep, 2016 1 commit
  23. 02 Sep, 2016 1 commit
  24. 27 Jul, 2016 1 commit
    • Ian Hickson's avatar
      Fix DatePicker (#5061) · 1097d92a
      Ian Hickson authored
      Fundamentally the core problem was that we were not saying how wide a
      date picker should be. It should be 330 pixels, if I'm measuring the
      spec's mocks correctly.
      1097d92a
  25. 26 Jul, 2016 1 commit
  26. 21 Jun, 2016 1 commit
  27. 12 Jun, 2016 1 commit
  28. 07 Jun, 2016 1 commit
  29. 03 Jun, 2016 1 commit
    • Adam Barth's avatar
      Convert drag gestures to use details objects (#4343) · 2d4acb80
      Adam Barth authored
      Previously we supplied individual parameters to the various drag and pan
      callbacks. However, that approach isn't extensible because each new
      parameter is a breaking change to the API.
      
      This patch makes a one-time breaking change to the API to provide a
      "details" object that we can extend over time as we need to expose more
      information. The first planned extension is adding enough information to
      accurately produce an overscroll glow on Android.
      2d4acb80
  30. 23 May, 2016 1 commit
    • Adam Barth's avatar
      Improve time picker fidelity · d5e3ea2f
      Adam Barth authored
      We now match the spec much better, including handling dark theme.
      
      The main thing we're still missing is the landscape layout.
      
      Fixes #989
      d5e3ea2f
  31. 07 May, 2016 1 commit
    • Adam Barth's avatar
      Move TextAlign out of TextStyle (#3789) · ee903af0
      Adam Barth authored
      TextAlign applies to a whole paragraph instead of applying to an individual
      text span. This patch moves the property out of TextStyle and into a separate
      property on Text and RichText.
      ee903af0
  32. 04 May, 2016 2 commits
  33. 29 Apr, 2016 2 commits
  34. 27 Apr, 2016 1 commit
    • Hans Muller's avatar
      Fixes TimePicker (#3583) · 0f1dbe09
      Hans Muller authored
      * Fixed TimePicker crash and added tests
      
      * Fixed TimePicker crash and added tests
      
      * fixed a Lint-O
      0f1dbe09
  35. 08 Apr, 2016 1 commit