1. 31 Jan, 2016 1 commit
    • Adam Barth's avatar
      Adds the ability to move the caret by tapping · 36099383
      Adam Barth authored
      Now the text input control knows how to move the caret when you tap
      inside the string. There's still some rough edges to polish up, but this
      patch is the first step.
      
      Fixes #108
      36099383
  2. 30 Jan, 2016 1 commit
  3. 26 Jan, 2016 2 commits
    • Adam Barth's avatar
      Input asserts while keyboard is dismissed · 2ba96877
      Adam Barth authored
      Now we recreate the stub every time we try to connect to the keyboard. The
      underlying message pipe in the stub cannot be re-used, which is why we
      previously asserted.
      
      Fixes #776
      2ba96877
    • Adam Barth's avatar
      Hide EditableString implementation details · f0ea0eaf
      Adam Barth authored
      Previously, EditableString had many public members because it needed to
      implement the KeyboardClient interface. However, that's confusing
      because these methods cannot be called directly.
      
      Now EditableString holds a private implementation of the KeyboardClient,
      which hides the implementation details.
      
      Fixes #208
      Fixes #209
      f0ea0eaf
  4. 25 Jan, 2016 1 commit
  5. 24 Jan, 2016 1 commit
  6. 23 Jan, 2016 3 commits
  7. 22 Jan, 2016 2 commits
  8. 21 Jan, 2016 2 commits
  9. 16 Jan, 2016 1 commit
  10. 11 Jan, 2016 2 commits
  11. 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
  12. 08 Dec, 2015 1 commit
  13. 01 Dec, 2015 2 commits
    • Adam Barth's avatar
      Fix Input padding to match the material spec · 6067b306
      Adam Barth authored
      Also, handle the case of "dense" input widgets that have less margin.
      
      Fixes #626
      6067b306
    • Adam Barth's avatar
      Add input#hideText · 179d191e
      Adam Barth authored
      This feature can be used to implement password fields, where the user doesn't
      want the text displayed on screen. Currently all the characters are hidden.
      Eventualy we'll want to show the most recent character for some timeout.
      
      Fixes #636
      179d191e
  14. 11 Nov, 2015 1 commit
  15. 26 Oct, 2015 1 commit
    • Hixie's avatar
      Radio<T> and ValueChanged<T> · b1dbf452
      Hixie authored
      Make Radio widgets take a type that describes the type of their value,
      so that you can catch when you use the wrong value.
      
      Standardise on ValueChanged<Foo> instead of having a FooValueChanged
      for every value of Foo.
      b1dbf452
  16. 23 Oct, 2015 1 commit
  17. 20 Oct, 2015 1 commit
  18. 16 Oct, 2015 1 commit
  19. 14 Oct, 2015 1 commit
  20. 12 Oct, 2015 1 commit
    • Hixie's avatar
      Lots of trivial warning fixes · f2cc43a4
      Hixie authored
      Add type annotations in many places.
      Fix some identifiers to have more lint-satisfying names.
      Make all operator==s consistent in style.
      Reorder some functions for consistency.
      Make ParentData no longer dynamic, and fix all the code around that.
      f2cc43a4
  21. 10 Oct, 2015 1 commit
  22. 09 Oct, 2015 1 commit
  23. 06 Oct, 2015 1 commit
  24. 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
  25. 03 Oct, 2015 1 commit
  26. 01 Oct, 2015 1 commit
  27. 24 Sep, 2015 1 commit
    • James Robinson's avatar
      Update to Mojo 4e4d51ce28a8edcb32b9c7f555e38e2ae84a825e, update deps · e854d745
      James Robinson authored
      This updates to mojo 4e4d51ce28a and mojo sdk 711a0bcfb141b4 and updates the sky
      package's pubspec.yaml dependency to '>=0.1.0 <0.2.0' to be compatible with
      the current mojo package. This includes an update to the Mojo Dart generator to
      produce real classes for enums and the corresponding updates for users of the
      KeyboardType enum in Sky as well as one scoped_ptr->std::unique_ptr in shell
      corresponding to a change in the Mojo EDK.
      
      When a new version of the sky and sky_services package are pushed this will fix
      domokit/mojo#440.
      e854d745
  28. 21 Sep, 2015 1 commit
    • Adam Barth's avatar
      Remove EventDisposition · 051354ae
      Adam Barth authored
      All the use cases for EventDisposition are now addressed by the gesture
      detection system.
      051354ae
  29. 17 Sep, 2015 1 commit
  30. 09 Sep, 2015 1 commit
  31. 08 Sep, 2015 1 commit
  32. 07 Sep, 2015 1 commit
  33. 02 Sep, 2015 1 commit
    • Adam Barth's avatar
      Move widgets and rendering inside src · 693ddcd8
      Adam Barth authored
      Code outside of package:sky should import this code using
      
      package:sky/rendering.dart
      package:sky/widgets.dart
      
      Moving this code into the "src" directory is a convention that signifies that
      and it cleans up the generated dartdoc because the libraries in the src
      directory aren't included in the generated documentation. Instead, the classes
      are documented in the widgets.dart and rendering.dart libraries.
      693ddcd8