- 31 Jan, 2016 1 commit
-
-
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
-
- 30 Jan, 2016 1 commit
-
-
Adam Barth authored
This patch teaches the editing system to paint reasonable selections for single-line text fields, including for bidirectional text. Requires https://github.com/flutter/engine/pull/2318
-
- 26 Jan, 2016 2 commits
-
-
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
-
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
-
- 25 Jan, 2016 1 commit
-
-
Adam Barth authored
We were getting the proper values, but we thought we were still composing, so the text was still underlined. Fixes #115
-
- 24 Jan, 2016 1 commit
-
-
Adam Barth authored
That way folks can customize it if they want (and it makes the code a bit more self-documenting).
-
- 23 Jan, 2016 3 commits
-
-
Adam Barth authored
Now the label animates from its inline position to above the text and the focus highlight grows into place.
-
Adam Barth authored
RawEditableLine is now responsible for the scrolling behavior, which removes the need for callbacks between RawEditableLine and Input. It also fixes a bug whereby the whole Input widget (including its icon) would scroll when the text got long.
-
Adam Barth authored
Properly support labels, hints, icons, and custom typography.
-
- 22 Jan, 2016 2 commits
-
-
Adam Barth authored
Fixes #1308
-
Adam Barth authored
This patch restructures how we size the editing region of the Input widget. Now RenderEditableLine understands that it's a single-line editing widget and sizes itself correctly.
-
- 21 Jan, 2016 2 commits
-
-
Adam Barth authored
Instead, require the developer to opt-in to autofocusing because autofocusing can be disruptive. Fixes #1307
-
Adam Barth authored
Previously this code was in the animation layer, which didn't make much sense because scrolling is a widget concern.
-
- 16 Jan, 2016 1 commit
-
-
Hixie authored
The dart bindings changed semantics in a non-compatible way.
-
- 11 Jan, 2016 2 commits
-
-
Adam Barth authored
Previously we used a positional argument for widgets that had multiple children. Now we use a named argument that defaults to an empty list. Fixes #241
-
Adam Barth authored
We use the ScrollDirection for more than just scrolling. Fixes #151
-
- 28 Dec, 2015 1 commit
-
-
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().
-
- 08 Dec, 2015 1 commit
-
-
Adam Barth authored
After this patch, if you try to use a widget that depends on being enclosed in a material, you now get an assert and a debugPrint if you're not inside a material. Fixes #243
-
- 01 Dec, 2015 2 commits
-
-
Adam Barth authored
Also, handle the case of "dense" input widgets that have less margin. Fixes #626
-
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
-
- 11 Nov, 2015 1 commit
-
-
Adam Barth authored
The input widget scrolls, so it should give its text loose constraints. That way the text ends up being its intrinsic size even if put in a context with tight constraints. Fixes #298
-
- 26 Oct, 2015 1 commit
-
-
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.
-
- 23 Oct, 2015 1 commit
-
-
Jason Simmons authored
If the text is empty, the IME may call deleteSurroundingText(1, 0) if the user hits the delete key. The selection should remain at position 0 if this happens.
-
- 20 Oct, 2015 1 commit
-
-
Adam Barth authored
The style we use for callbacks in widgets is "onFoo". These classes were using an order naming convention and just called their callbacks "callback".
-
- 16 Oct, 2015 1 commit
-
-
Adam Barth authored
The goal is to follow the guidelines in https://github.com/flutter/engine/blob/master/sky/specs/style-guide.md#packages Fixes #1638
-
- 14 Oct, 2015 1 commit
-
-
Jason Simmons authored
Also add an input widget API for the keyboard submit button
-
- 12 Oct, 2015 1 commit
-
-
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.
-
- 10 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 09 Oct, 2015 1 commit
-
-
Adam Barth authored
These are now part of material.dart.
-
- 06 Oct, 2015 1 commit
-
-
Adam Barth authored
In the vast majority of cases, folks should be interacting with the Widget rather than its State. Fixes #267
-
- 05 Oct, 2015 1 commit
-
-
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().
-
- 03 Oct, 2015 1 commit
-
-
Adam Barth authored
Fixes #1372
-
- 01 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 24 Sep, 2015 1 commit
-
-
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.
-
- 21 Sep, 2015 1 commit
-
-
Adam Barth authored
All the use cases for EventDisposition are now addressed by the gesture detection system.
-
- 17 Sep, 2015 1 commit
-
-
Adam Barth authored
What's important about this code is that it's presenting services outside the VM, not the particular technology used to present the services.
-
- 09 Sep, 2015 1 commit
-
-
Misha Dynin authored
-
- 08 Sep, 2015 1 commit
-
-
Adam Barth authored
-
- 07 Sep, 2015 1 commit
-
-
Adam Barth authored
The editing directory just defined two widgets. We might as well fold them into the main widgets library.
-
- 02 Sep, 2015 1 commit
-
-
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.
-