1. 16 Dec, 2017 1 commit
    • Chris Bracken's avatar
      Apply media padding to snackbar contents (#13623) · 813be533
      Chris Bracken authored
      Applies any additional bottom, left, and right media padding inside the
      snackbar, if present. This accounts for the iPhone X home indicator
      widget and horizontal padding for the sensor housing notch in landscape
      orientation.
      813be533
  2. 08 Dec, 2017 2 commits
    • Chris Bracken's avatar
      Scaffold resizeToAvoidBottomPadding uses view insets (#13437) · 6ff844a9
      Chris Bracken authored
      Now that keyboard height is modelled as a (bottom) view inset, migrate
      scaffold bottom resizing to use view insets instead of bottom padding,
      which, after an engine roll, will only be used for safe areas.
      
      Until the aforementioned engine roll, the keyboard height is still
      included in both bottom padding and view insets. As such
      resizeToAvoidBottomPadding still drives bottom padding removal until
      that roll lands.
      
      Renames _ScaffoldLayout.bottomPadding to bottomViewInset
      6ff844a9
    • Chris Bracken's avatar
      Extract a shared MediaQueryData for padding and viewInsets (#13434) · 60effb99
      Chris Bracken authored
      Also adds a TODO that should have landed with flutter/flutter#13423.
      60effb99
  3. 07 Dec, 2017 1 commit
  4. 04 Dec, 2017 1 commit
  5. 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
  6. 02 Nov, 2017 1 commit
  7. 02 Oct, 2017 1 commit
    • Adam Barth's avatar
      Add Alignment, which will replace FractionalOffset (#12342) · 2b126bcd
      Adam Barth authored
      Unlike FractionalOffset, Alignment uses the center as the zero of the
      coordinate system, which makes the RTL math work out much cleaner.
      
      Also, make FractionalOffset into a subclass of Alignment so that clients
      can continue to use FractionalOffset.
      2b126bcd
  8. 29 Sep, 2017 1 commit
  9. 11 Sep, 2017 1 commit
  10. 30 Aug, 2017 1 commit
  11. 29 Aug, 2017 1 commit
  12. 07 Aug, 2017 1 commit
  13. 08 Jun, 2017 1 commit
  14. 06 Jun, 2017 1 commit
  15. 05 May, 2017 1 commit
  16. 27 Apr, 2017 1 commit
  17. 23 Apr, 2017 1 commit
  18. 21 Apr, 2017 1 commit
  19. 17 Apr, 2017 1 commit
  20. 15 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Support chaining await calls on controllers (#9389) · 14e728d0
      Ian Hickson authored
      With this patch, you can do:
      
      ```dart
         Future<Null> foo() async {
           try {
             await controller.forward().orCancel;
             await controller.reverse().orCancel;
             await controller.forward().orCancel;
           } on TickerCanceled {
             // did not complete
           }
         }
      ```
      
      ...in a State's async method, and so long as you dispose of the
      controller properly in your dispose, you'll have a nice way of doing
      animations in sequence without leaking the controller. try/finally
      works as well, if you need to allocate resources and discard them when
      canceled.
      
      Simultaneously, you can do:
      
      ```dart
         Future<Null> foo() async {
           await controller.forward().orCancel;
           await controller.reverse().orCancel;
           await controller.forward().orCancel;
         }
      ```
      
      ...and have the same effect, where the method will just silently hang
      (and get GC'ed) if the widget is disposed, without leaking anything,
      if you don't need to catch the controller being killed.
      
      And all this, without spurious errors for uncaught exceptions on
      controllers.
      14e728d0
  21. 13 Apr, 2017 1 commit
  22. 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
  23. 29 Mar, 2017 1 commit
  24. 15 Mar, 2017 1 commit
  25. 08 Mar, 2017 1 commit
  26. 04 Mar, 2017 1 commit
  27. 26 Feb, 2017 1 commit
  28. 18 Feb, 2017 1 commit
  29. 09 Feb, 2017 1 commit
    • Ian Hickson's avatar
      Port AppBar to Scrollable2 (#7996) · 83a4cf26
      Ian Hickson authored
      Move the back button and drawer opening logic into the app bar.
      
      Move the tap-status-bar-to-scroll-to-top logic to using
      ScrollControllers. Provide a PrimaryScrollController and a `primary`
      flag on scroll views.
      
      Make it possible to track when a route becomes or stops being poppable.
      83a4cf26
  30. 04 Feb, 2017 1 commit
  31. 31 Jan, 2017 1 commit
  32. 22 Jan, 2017 1 commit
  33. 18 Jan, 2017 1 commit
  34. 05 Jan, 2017 2 commits
  35. 09 Dec, 2016 1 commit
  36. 30 Nov, 2016 2 commits
  37. 23 Nov, 2016 1 commit