1. 27 Jan, 2016 2 commits
    • Adam Barth's avatar
      updateChildren() needs to walk the list forward · 05839e51
      Adam Barth authored
      This patch changes the framework to walk the child list forwards so that build
      functions with global side effects do sensible things. Specifically, if you
      have a number of autofocusable children, the first one the list will acquire
      the focus because it gets built first now.
      
      Fixes #182
      05839e51
    • Adam Barth's avatar
      Keyboard doesn't dismiss when the drawer comes up · a5351643
      Adam Barth authored
      When introducing Focus widgets for the Drawer (and ModalRoutes), we weren't
      actually giving them the focus. Now we move the focus scope when pushing modal
      routes.
      
      Fixes #184
      a5351643
  2. 22 Jan, 2016 1 commit
  3. 21 Jan, 2016 1 commit
  4. 11 Jan, 2016 1 commit
  5. 28 Dec, 2015 1 commit
    • Ian Hickson's avatar
      Various Input and Focus fixes · b1dae4c4
      Ian Hickson authored
      Require a Key on Input.
      
      Simplify the API for Focus.at() and Focus.moveTo().
      Fixes #236.
      This will require an e-mail to flutter-dev.
      
      Make Input grab focus onTap not onPointerDown.
      Fixes #189.
      
      Complain when you use Focus.at() with two different GlobalKeys that
      are both in the tree at the same time.
      Fixes #181.
      
      Add dartdocs for Focus.moveTo() and Focus.moveScopeTo().
      b1dae4c4
  6. 16 Dec, 2015 1 commit
  7. 23 Nov, 2015 1 commit
  8. 16 Nov, 2015 1 commit
    • Hixie's avatar
      More resilient Widget tests · d041f3ea
      Hixie authored
      - force the time dilation to 1.0 for the Widget tests, so that a local
        change doesn't break all the tests during development.
      - add missing license block to all the files.
      - set ui.window.onBeginFrame to null when you use WidgetTester, so that
        the engine doesn't trigger any confusing frames after our fake frames.
      d041f3ea
  9. 15 Oct, 2015 1 commit
  10. 10 Oct, 2015 1 commit
  11. 05 Oct, 2015 1 commit
    • Hixie's avatar
      Fix Focus · fbf8174c
      Hixie authored
      Focus.at() and company should be on Focus, not FocusState.
      
      _notifyDescendants() was using the wrong runtimeType.
      
      Let InheritedWidget update the descendants during build.
      
      When you setState() during build, assert that you're not
      markNeedsBuild()ing someone who isn't a descendant.
      
      Typo in Widget.toString().
      fbf8174c