1. 08 Dec, 2017 1 commit
    • Yegor's avatar
      Make time picker accessible (#13152) · b80751cd
      Yegor authored
      * make time picker accessible
      
      * use new CustomPaint a11y API
      
      * flutter_localizations tests; use bigger distance delta
      
      * fix am/pm control; selected values
      
      * fix translations; remove @mustCallSuper in describeSemanticsConfiguration
      
      * exclude AM/PM announcement from iOS as on iOS the label is read back automatically
      b80751cd
  2. 22 Nov, 2017 1 commit
    • Ian Hickson's avatar
      Popup menus RTL (#13110) · 34ba6be9
      Ian Hickson authored
      This fixes the popup menu code to do a better job of expanding
      smoothly regardless of which side of the screen it's on. It still
      results in a bidirection growth when positioned at the bottom of the
      screen, so maybe we'll need to animate menus differently, but that's
      a problem for another patch.
      
      Also, improve some docs and provide RelativeRect.toSize which I needed
      at one point while building this patch (though it didn't survive all
      the way to the end).
      34ba6be9
  3. 17 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Fix spelling errors in all the dartdocs. (#13061) · 0259be90
      Greg Spencer authored
      I got tired of drive-by spelling fixes, so I figured I'd just take care of them all at once.
      
      This only corrects errors in the dartdocs, not regular comments, and I skipped any sample code in the dartdocs. It doesn't touch any identifiers in the dartdocs either. No code changes, just comments.
      0259be90
  4. 01 Nov, 2017 1 commit
    • Yegor's avatar
      Use alwaysUse24HourFormat when formatting time of day (#12517) · f4b0ccd9
      Yegor authored
      * alwaysUse24HourFormat in MediaQuery and time picker
      
      * docs; dead code
      
      * address some comments
      
      * MaterialLocalizations.timeOfDayFormat is the single source of 24-hour-formattedness
      
      * Make TimePickerDialog private again
      
      * wire up MediaQueryData.fromWindow to Window
      f4b0ccd9
  5. 27 Sep, 2017 1 commit
  6. 22 Sep, 2017 1 commit
  7. 14 Sep, 2017 1 commit
    • Yegor's avatar
      Localize time picker (#11967) · cbdefead
      Yegor authored
      * Internationalize the time picker
      
      - header layout and formatting
      - 12-hour vs 24-hour dial
      - RTL
      
      * make TimeOfDayFormat an enum
      
      * address comments
      cbdefead
  8. 07 Sep, 2017 2 commits
  9. 31 Jul, 2017 1 commit
  10. 23 Jun, 2017 1 commit
  11. 23 Apr, 2017 1 commit
  12. 19 Apr, 2017 1 commit
  13. 17 Apr, 2017 1 commit
  14. 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
  15. 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
  16. 07 Apr, 2017 1 commit
  17. 31 Mar, 2017 1 commit
  18. 04 Mar, 2017 1 commit
  19. 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
  20. 23 Feb, 2017 3 commits
  21. 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
  22. 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
  23. 19 Nov, 2016 1 commit
  24. 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
  25. 02 Nov, 2016 1 commit
  26. 01 Nov, 2016 1 commit
  27. 23 Oct, 2016 2 commits
  28. 14 Oct, 2016 1 commit
  29. 03 Oct, 2016 1 commit
  30. 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
  31. 20 Sep, 2016 1 commit
  32. 15 Sep, 2016 1 commit
  33. 02 Sep, 2016 1 commit
  34. 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
  35. 26 Jul, 2016 1 commit
  36. 21 Jun, 2016 1 commit