- 04 Apr, 2017 10 commits
-
-
Jakob Andersen authored
Gradle projects are evaluated in lexicographical order, and the plugin projects are at the same level as the :app project, so if a plugin has a name that comes before 'app' (like, for example, any name that starts with a capital letter), the plugin project will be evaluated before :app. Since :app applies the Flutter Gradle plugin, which tries to modify the dependencies of the plugin projects, we have a problem if the plugin projects have already been evaluated. Adding evaluationDependsOn(':app') to the plugin projects fixes this. Updated example projects to the latest (plugin-enabled) Gradle build files. Also removed two unused imports in `pluginClass.java.tmpl`.
-
xster authored
* Add new metric to size_tests instead * Small lints
-
Adam Barth authored
The underlying issue was fixed by the new focus system. Fixes #1523
-
Adam Barth authored
This patch adds docs for many of the sliver widgets.
-
Adam Barth authored
-
Adam Barth authored
These where used only by the old focus system. Let's remove them before they grow more clients.
-
Adam Barth authored
TextFormField doesn't actually have many properties because it wraps a TextField. Rather than trying to document all the arguments in the constructor, we now refer to the docs for TextField, which explain the parameters in a more readable way. Fixes #7245
-
Adam Barth authored
This method seemed overly specific to the needs of one particular subclass. This patch duplicates some code but makes the API conceptually cleaner. Fixes #8267
-
Adam Barth authored
We should always use the maxWidth from the incomming constraints to size the text inside the editable because the EditableText itself always expands to fill its width. Also, make sure InputDecoration always expands horizontially (even when there's no icon) for consistency. Fixes #9149
-
Chris Bracken authored
-
- 03 Apr, 2017 4 commits
-
-
Hans Muller authored
-
xster authored
* Moved stuff around yet * Fix depedencies * Add more dartdoc comments to packages * Remove Cupertino dependency on material * Removed mountain_view package and added page transition test * Fix analyze warnings * Remove commented code * Partial solution. Still need to stop the animation on the previous page for modal * Some review notes * Move the cupertino back gesture controller’s lifecycle management back to its parent * Reviews * Add background color * Directional curves, full screen transition * Don’t perform the exit animation if the incoming page is a dialog * It works! * Test structures * Add a bunch of more tests and fix the gallery * One more comment * Review notes * final controller * Use that sweet sweet `is!` keyword * Play golf, because I’m bitter that there’s no nullable `as` or something in dart * Remove a space * Review notes * Remove the last deprecated test
-
xster authored
* Moved stuff around yet * Fix depedencies * Add more dartdoc comments to packages * Remove Cupertino dependency on material * Removed mountain_view package and added page transition test * Fix analyze warnings * Remove commented code * Some review notes * Move the cupertino back gesture controller’s lifecycle management back to its parent * Reviews * Add background color * final controller * Review notes
-
Collin Jackson authored
-
- 02 Apr, 2017 6 commits
-
-
Adam Barth authored
Rather than rebuilding to blink the cursor, we now pass a ValueNotifier<bool> to the RenderEditable so that it can simply repaint. This patch also contains some refactoring towards being able to do the same thing with the text being edited, but I didn't quite get it working.
-
Adam Barth authored
Also, fix an issue where hint text wasn't visible when the InputDecoration was collapsed. Fixes #8541
-
Adam Barth authored
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/9031 Also some updates to mock_canvas that were needed to do this.
-
Ian Hickson authored
This should make the message in Travis logs look better.
-
Adam Barth authored
After this patch, there are three major text input widgets: * EditableText. This widget is a low-level editing control that interacts with the IME and displays a blinking cursor. * TextField. This widget is a Material Design text field, with all the bells and whistles. It is highly configurable and can be reduced down to a fairly simple control by setting its `decoration` property to null. * TextFormField. This widget is a FormField that wraps a TextField. This patch also replaces the InputValue data model for these widgets with a Listenable TextEditingController, which is much more flexible. Fixes #7031
-
- 31 Mar, 2017 7 commits
-
-
Jason Simmons authored
-
Chris Bracken authored
Xcode builds depend on the Python 'six' module. If not present, exit immediately with a useful error message. The six module is included in the system default Python installation. We perform this check in case a custom Python install has higher priority on $PATH; e.g., due to a Homebrew or MacPorts installation. This extracts an existing doctor check to use it during the build step as well.
-
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.
-
Collin Jackson authored
This reverts commit 8f9d4a22.
-
Alexandre Ardhuin authored
* add @required when there's an assert not null * address review comments
-
xster authored
* Add FadeTransition to Android page transition * Also move starting point up * Add test * Use const fractional offset
-
xster authored
* Change foundation references to meta * Remove specified shows
-
- 30 Mar, 2017 13 commits
-
-
Devon Carew authored
-
Jakob Andersen authored
-
John McCutchan authored
Related #8876
-
Ian Hickson authored
-
Sarah Zakarias authored
* wip * wip * delete main.m * readd main.m * update to use new channel api * update android * removed android/ * remove debug print * remomved main.m * Update year in copyright * break long line and update name * mit comments * update examples/README * break line * update README * update test
-
Sarah Zakarias authored
-
Michael Thomsen authored
-
Sarah Zakarias authored
-
Jakob Andersen authored
Plugin projects are created by running `flutter create --plugin <name>`. An example app is also created in the plugin project, using the normal 'create' template, which has been modified to allow for conditional plugin code. Modified the android package name to match package naming conventions (all lower-case, and must match the directory name).
-
Mikkel Nygaard Ravn authored
-
Adam Barth authored
This patch adds a notification to SliverChildDelegate that says which children are alive after each layout. The delegate can use this information to optimize it's underlying model of the children (e.g., by discarding models for children that are far outside the live range). Fixes #9045
-
Chris Bracken authored
This reverts commit 326355f0.
-
Chris Bracken authored
Also refactors demos list into a class with `synchronized` and `profiled` properties. When run with --trace-startup, as we do in this test, the VM stores trace events in an endless buffer instead of a ring buffer. To avoid out-of-memory conditions, we restrict timeline collection to a subset.
-