1. 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
  2. 04 Apr, 2017 1 commit
  3. 31 Mar, 2017 2 commits
    • Adam Barth's avatar
      Improve focus management (#9074) · 89aaaa9c
      Adam Barth authored
      We now have an explicit focus tree that we manage. Instead of using
      GlobalKeys to manage focus, we use FocusNode and FocusScopeNode objects.
      The FocusNode is Listenable and notifies when its focus state changes.
      
      Focus notifications trigger by tree mutations are now delayed by one
      frame, which is necessary to handle certain complex tree mutations. In
      the common case of focus changes being triggered by user input, the
      focus notificiation still arives in the same frame.
      89aaaa9c
    • Alexandre Ardhuin's avatar
      add @required when there's an assert not null (#9124) · 2de61a08
      Alexandre Ardhuin authored
      * add @required when there's an assert not null
      
      * address review comments
      2de61a08
  4. 08 Mar, 2017 1 commit
  5. 04 Mar, 2017 1 commit
  6. 21 Feb, 2017 1 commit
  7. 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
  8. 04 Feb, 2017 1 commit
  9. 30 Jan, 2017 1 commit
  10. 25 Jan, 2017 2 commits
  11. 24 Jan, 2017 1 commit
  12. 20 Jan, 2017 1 commit
  13. 19 Jan, 2017 1 commit
    • Adam Barth's avatar
      Improve Route lifecycle (#7526) · 23361d5a
      Adam Barth authored
      Previously the navigator wouldn't always call Route.dispose when it was
      removed from the tree. After this patch, the navigator remembers popped
      routes so that it can call dispose on them when it is removed from the
      tree.
      
      Also, improve some error messages around calling dispose() more than
      once on routes and AnimationControllers.
      
      Fixes #7457
      23361d5a
  14. 18 Jan, 2017 1 commit
  15. 11 Jan, 2017 1 commit
  16. 10 Jan, 2017 1 commit
  17. 09 Dec, 2016 1 commit
  18. 22 Nov, 2016 1 commit
  19. 19 Nov, 2016 1 commit
  20. 03 Nov, 2016 1 commit
  21. 31 Oct, 2016 1 commit
  22. 24 Oct, 2016 2 commits
  23. 14 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. 09 Sep, 2016 1 commit
  27. 07 Sep, 2016 1 commit
  28. 29 Aug, 2016 1 commit
  29. 25 Aug, 2016 1 commit
  30. 19 Aug, 2016 1 commit
  31. 01 Aug, 2016 1 commit
  32. 26 Jul, 2016 1 commit
  33. 15 Jul, 2016 1 commit
  34. 27 Jun, 2016 1 commit
    • Adam Barth's avatar
      Change how navigator prevents redundant operations (#4769) · 2af668f8
      Adam Barth authored
      * Change how navigator prevents redundant operations
      
      Instead of requiring transactions, we now cancel all active pointers that are
      interacting with the navigator and absorb future pointers until we get a chance
      to build. This approach isn't perfect (e.g., events that trigger off the
      cancelled pointers could still interact with the navigator), but it should be
      better than the current transaction-based approach.
      
      Fixes #4716
      
      * Remove openTransaction
      
      * test
      
      * fixup
      2af668f8
  35. 21 Jun, 2016 1 commit
    • Adam Barth's avatar
      Nesting MaterialApps should not assert (#4636) · e071f0ba
      Adam Barth authored
      Turns out we weren't managing focus correct between navigator routes because we
      were missing a Focus widget above the routes. However, adding this widget
      caused us to explode at startup because the initial route was trying to move
      focus during the build phase.
      
      This patch teaches Focus to have an initiallyFocusedScope, which can be use to
      initialize the child focus scope.
      
      Fixes #4065
      e071f0ba
  36. 07 Jun, 2016 1 commit
    • Ian Hickson's avatar
      Provide UI to paginate PaginatedDataTable (#4382) · 68f92d4f
      Ian Hickson authored
      Also:
      * Make PaginatedDataTable able to scroll itself horizontally.
      * Make drop down buttons support having an explicit text style and icon
        size given.
      * Fix a bug with drop-down buttons asserting when opened partly
        off-screen.
      * Make sure to pop the drop-down button's route if the drop-down button
        is discarded while the route is up.
      * Remove extraneous padding on drop-down buttons. (Couldn't figure out
        why it was there, and it breaks alignment when a drop-down is mixed
        with other text.)
      * Some docs improvements.
      * Add Route.isActive
      * Add a setState() method to ModalRoutes.
      68f92d4f
  37. 06 Jun, 2016 1 commit