- 16 Dec, 2016 1 commit
-
-
Hans Muller authored
-
- 14 Dec, 2016 1 commit
-
-
Matt Perry authored
* Animate size of label text over text fields. Also fade in the hintText so it doesn't pop in immediately as the label text slides up. Fixes https://github.com/flutter/flutter/issues/7217 * rm annotations * test * rename
-
- 09 Dec, 2016 1 commit
-
-
Alexandre Ardhuin authored
-
- 05 Dec, 2016 1 commit
-
-
Matt Perry authored
Fixes https://github.com/flutter/flutter/issues/7035
-
- 30 Nov, 2016 1 commit
-
-
Luke Church authored
* Skip failing input tests * Only skip on Mac OS
-
- 08 Nov, 2016 1 commit
-
-
Matt Perry authored
Fixes https://github.com/flutter/flutter/issues/6603
-
- 07 Nov, 2016 2 commits
-
-
Hans Muller authored
-
Ian Hickson authored
-
- 19 Oct, 2016 4 commits
-
-
Adam Barth authored
This patch removes uses of keyboard.mojom in favor of the TextInputPlugin.
-
Matt Perry authored
If maxLines is 1, it's a single line Input that scrolls horizontally. Otherwise, overflowed text wraps and scrolls vertically, taking up at most `maxLines`. Also fixed scrolling behavior so that the Input scrolls ensuring the cursor is always visible. Fixes https://github.com/flutter/flutter/issues/6271
-
Matt Perry authored
They support multiline text now.
-
Adam Barth authored
This class will eventually replace the Keyboard class we currently use. As part of this migration, we'll switch from using mojom to interact with the IME to using platform messages.
-
- 18 Oct, 2016 1 commit
-
-
Adam Barth authored
The platform plugin now supports clipboard operations.
-
- 14 Oct, 2016 1 commit
-
-
Matt Perry authored
* Add a maxLines parameter for multiline Input. If maxLines is 1, it's a single line Input that scrolls horizontally. Otherwise, overflowed text wraps and scrolls vertically, taking up at most `maxLines`. Also fixed scrolling behavior so that the Input scrolls ensuring the cursor is always visible. Fixes https://github.com/flutter/flutter/issues/6271 * oops * comments * import * test and RO.update fix * constant * fix.caretRect
-
- 07 Oct, 2016 1 commit
-
-
Adam Barth authored
This patch adds `@checked` everywhere is needed to remove the `strong_mode_invalid_method_override` strong mode error.
-
- 05 Oct, 2016 1 commit
-
-
Matt Perry authored
Fixes https://github.com/flutter/flutter/issues/6154
-
- 21 Sep, 2016 1 commit
-
-
James Robinson authored
This rewrites imports of various mojom.dart files from the Flutter engine repo to instead import normal-looking dart files from the (new) flutter_services package. This package handles exporting the correct symbols from generated code wherever that may live. Includes an engine roll to 3551e7a48e2e336777b15c7637af92fd7605b6c5 which contains the new flutter_services package.
-
- 04 Aug, 2016 1 commit
-
-
Matt Perry authored
BUG=https://github.com/flutter/flutter/issues/3938
-
- 21 Jun, 2016 1 commit
-
-
Adam Barth authored
This required switching from the Future-based bindings to the callback-based bindings.
-
- 06 Jun, 2016 1 commit
- 29 May, 2016 1 commit
-
-
Adam Barth authored
The new mojom.dart code makes mocking services a bit tricky. I've filed https://github.com/domokit/mojo/issues/786 about improving that.
-
- 16 May, 2016 1 commit
-
-
Ian Hickson authored
This makes it possible to substitute 'flutter run' for 'flutter test' and actually watch a test run on a device. For any test that depends on flutter_test: 1. Remove any import of 'package:test/test.dart'. 2. Replace `testWidgets('...', (WidgetTester tester) {` with `testWidgets('...', (WidgetTester tester) async {` 3. Add an "await" in front of calls to any of the following: * tap() * tapAt() * fling() * flingFrom() * scroll() * scrollAt() * pump() * pumpWidget() 4. Replace any calls to `tester.flushMicrotasks()` with calls to `await tester.idle()`. There's a guarding API that you can use, if you have particularly complicated tests, to get better error messages. Search for TestAsyncUtils.
-
- 13 May, 2016 1 commit
-
-
Matt Perry authored
- Handles appear with tap or long press. - Toolbar appears with long press on text, or tap on handle. - Correct toolbar items shown depending on context.
-
- 10 May, 2016 1 commit
-
-
Matt Perry authored
* Use mojo clipboard service for copy/paste toolbar. BUG=https://github.com/flutter/flutter/issues/1567
-
- 04 May, 2016 1 commit
-
-
Matt Perry authored
* First pass at a material-style copy/paste toolbar. This mimics the toolbar you see when selecting text in an Android material app. There's still more to do (like integration with the system clipboard), but this seemed like a good stopping point. BUG=https://github.com/flutter/flutter/issues/1567
-
- 29 Apr, 2016 1 commit
-
-
Ian Hickson authored
* Refactor widget test framework Instead of: ```dart test("Card Collection smoke test", () { testWidgets((WidgetTester tester) { ``` ...you now say: ```dart testWidgets("Card Collection smoke test", (WidgetTester tester) { ``` Instead of: ```dart expect(tester, hasWidget(find.text('hello'))); ``` ...you now say: ```dart expect(find.text('hello'), findsOneWidget); ``` Instead of the previous API (exists, widgets, widget, stateOf, elementOf, etc), you now have the following comprehensive API. All these are functions that take a Finder, except the all* properties. * `any()` - true if anything matches, c.f. `Iterable.any` * `allWidgets` - all the widgets in the tree * `widget()` - the one and only widget that matches the finder * `firstWidget()` - the first widget that matches the finder * `allElements` - all the elements in the tree * `element()` - the one and only element that matches the finder * `firstElement()` - the first element that matches the finder * `allStates` - all the `State`s in the tree * `state()` - the one and only state that matches the finder * `firstState()` - the first state that matches the finder * `allRenderObjects` - all the render objects in the tree * `renderObject()` - the one and only render object that matches the finder * `firstRenderObject()` - the first render object that matches the finder There's also `layers' which returns the list of current layers. `tap`, `fling`, getCenter, getSize, etc, take Finders, like the APIs above, and expect there to only be one matching widget. The finders are: * `find.text(String text)` * `find.widgetWithText(Type widgetType, String text)` * `find.byKey(Key key)` * `find.byType(Type type)` * `find.byElementType(Type type)` * `find.byConfig(Widget config)` * `find.byWidgetPredicate(WidgetPredicate predicate)` * `find.byElementPredicate(ElementPredicate predicate)` The matchers (for `expect`) are: * `findsNothing` * `findsWidgets` * `findsOneWidget` * `findsNWidgets(n)` * `isOnStage` * `isOffStage` * `isInCard` * `isNotInCard` Benchmarks now use benchmarkWidgets instead of testWidgets. Also, for those of you using mockers, `serviceMocker` now automatically handles the binding initialization. This patch also: * changes how tests are run so that we can more easily swap the logic out for a "real" mode instead of FakeAsync. * introduces CachingIterable. * changes how flutter_driver interacts with the widget tree to use the aforementioned new API rather than ElementTreeTester, which is gone. * removes ElementTreeTester. * changes the semantics of a test for scrollables because we couldn't convince ourselves that the old semantics made sense; it only worked before because flushing the microtasks after every event was broken. * fixes the flushing of microtasks after every event. * Reindent the tests * Fix review comments
-
- 22 Apr, 2016 1 commit
-
-
Ian Hickson authored
The old names were getting silly and started stepping on valuable namespace. The new names are consistent and clear.
-
- 21 Apr, 2016 1 commit
-
-
Matt Perry authored
Only partially works. Editing the selected text doesn't work very well, which probably will require engine changes. Currently only draws the selected text and allows you to manipulate the selection with draggable selection handles.
-
- 14 Apr, 2016 1 commit
-
-
Yegor authored
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 09 Mar, 2016 1 commit
-
-
Hixie authored
It has performance implications in release mode. We'll enable the lint once https://github.com/dart-lang/linter/issues/195 is fixed.
-
- 11 Feb, 2016 1 commit
-
-
Jason Simmons authored
(see https://github.com/flutter/flutter/issues/1586)
-
- 03 Feb, 2016 1 commit
-
-
Adam Barth authored
People writing their own tests will want to mock services as well.
-
- 02 Feb, 2016 1 commit
-
-
Adam Barth authored
Now the keyboard is responsible for maintaining the state of the text field.
-
- 01 Feb, 2016 1 commit
-
-
Hixie authored
-
- 23 Jan, 2016 2 commits
-
-
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 1 commit
-
-
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.
-
- 16 Jan, 2016 1 commit
-
-
Hixie authored
The dart bindings changed semantics in a non-compatible way.
-
- 16 Dec, 2015 1 commit
-
-
Ian Hickson authored
-