- 03 Jul, 2018 1 commit
-
-
Greg Price authored
This logic is described in the test as looking for a scroll ending very close to a new page, but in fact its behavior is more like "very close to a page to the right": if we're not very, very close to any page, it will pick the page to the left, not an old page. There's no reason this should be left-right asymmetrical. Instead, pick the nearest page. In practice, the case where this makes a difference never arises when the scroll runs undisturbed to completion; but when the user taps on the page to hold or drag, the scroll will be interrupted before it gets within tolerance of a particular page, and this case does arise. This fixes a glitch that is hard to trigger without time dilation, but is quite conspicuous with it: * Open a tab view with at least 4 tabs, e.g. the Buttons screen of the gallery (with "Animate Slowly" on.) * Starting at tab 0, tap tab 2. * When the animation is nearly complete, tap the page a couple of times, as if to drag it around to scroll. Then let the page view settle ballistically toward page 2. * Before it finishes, tap tab 3. * Suddenly page 1 fills the view, replacing page 2, before we scroll from there to page 3. With this fix, the animation in the last step moves smoothly from where we are when it starts onward to page 3.
-
- 13 Jun, 2018 1 commit
-
-
Chris Bracken authored
fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly from source, flutter_platform.dart automatically runs a kernel compile when operating in Dart 2 mode, but this assumes a functional Dart SDK is available in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts directory with an empty temp dir. Remaining work is: 1. Get the frontend server building as a dependency on Fuchsia. 2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server. This also reverts migration to Dart 2 typedef syntax. This reverts commit 6c56bb24. (#18362) This reverts commit 3daebd05. (#18316)
-
- 11 Jun, 2018 1 commit
-
-
Greg Spencer authored
Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax. Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml. No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 30 May, 2018 2 commits
-
-
Greg Spencer authored
Revert "Update typedef syntax to use Function notation and turn on lint for old notation. (#18035)" (#18041) This reverts commit 32586020.
-
Greg Spencer authored
Fixes #18028 Just changes typedef declarations, no logic changes.
-
- 09 May, 2018 1 commit
-
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/16169
-
- 03 May, 2018 1 commit
-
-
Konstantin Scheglov authored
-
- 27 Mar, 2018 1 commit
-
-
Hans Muller authored
-
- 20 Mar, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 11 Mar, 2018 1 commit
-
-
Ian Hickson authored
For example, mention the icon used for the drawer menu in the docs (this helps people writing unit tests); add DefaultAssetBundle sample code.
-
- 28 Feb, 2018 1 commit
-
-
najeira authored
-
- 22 Feb, 2018 1 commit
-
-
Hans Muller authored
-
- 21 Feb, 2018 1 commit
-
-
Hans Muller authored
-
- 02 Feb, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 21 Dec, 2017 1 commit
-
-
Yegor authored
* localize a11y tab labels in the TabBar * break import cycle * test boilerplate * fix German translation * more test boilerplate fixes
-
- 25 Nov, 2017 1 commit
-
-
Devon Carew authored
-
- 23 Nov, 2017 1 commit
-
-
Ian Hickson authored
-
- 17 Nov, 2017 1 commit
-
-
Greg Spencer authored
I got tired of drive-by spelling fixes, so I figured I'd just take care of them all at once. This only corrects errors in the dartdocs, not regular comments, and I skipped any sample code in the dartdocs. It doesn't touch any identifiers in the dartdocs either. No code changes, just comments.
-
- 25 Oct, 2017 1 commit
-
-
Alexandre Ardhuin authored
* enable lint prefer_const_constructors_in_immutables * remove LabeledGlobalKey._
-
- 18 Oct, 2017 2 commits
-
-
Michael Goderbauer authored
* Oct 12 10:12am * implicit_semantics_test.dart passes * refactoring * works in nice * minor rename * more doc comments * to be explicit check better * fix test * ++ * ++ * semantics_9_test (BlockSemantics) and implicit_semantics_test are passing * doc updates * tiny refactor * fix static errors in tests * fix gesture detector * ++ * ++ * geometry * ++ * remove noGeometry * revert test * + * all tests but scrolling/clipping pass * clipping works * scrolling halfway * sliver tests pass * ALL TESTS PASS * SemanticsNode changed * docs and tiny fixes * card test * more doc comments * remove missed print * more tests * make test pass on Linux * remove changes to intellij proj file * review comments
-
Michael Goderbauer authored
* Make Tab take a widget as child This way you can override the semantics information of a Tab (see test). Fixes https://github.com/flutter/flutter/issues/12432 * more tests * review comments * review comment * doc nits * style fix
-
- 27 Sep, 2017 1 commit
-
-
Ian Hickson authored
-
- 22 Sep, 2017 1 commit
-
-
Yegor authored
* Fix inherited widget notifications in Localizations * address comments
-
- 21 Sep, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 28 Aug, 2017 1 commit
-
-
Ian Hickson authored
* Introduce a Directionality inherited widget which sets the ambient LTR vs RTL mode (defaulting to null, which means you cannot use directionality-influenced values). * Make it possible to configure Padding (including Container.padding and Container.margin) using a directionality-agnostic EdgeInsets variant. * Provide textDirection and verticalDirection controls on Row and Column to make them RTL-aware. * Introduce a variant of FractionalOffset based on the EdgeInsets variant. Not yet actually used. * Fix all the tests that depended on Row defaulting to LTR.
-
- 18 Aug, 2017 1 commit
-
-
Jacob Richman authored
when describing non-nullable method arguments.
-
- 08 Aug, 2017 1 commit
-
-
Michael Goderbauer authored
* Allow tapping on TabBar indicator to switch tabs * fix semantics * review comments
-
- 03 Aug, 2017 1 commit
-
-
Jacob Richman authored
Add Diagnosticable base class and documentation
-
- 28 Jul, 2017 1 commit
-
-
Ian Hickson authored
-
- 25 Jul, 2017 1 commit
-
-
Jacob Richman authored
Refactor RenderObject.toStringDeep and Widget.toStringDeep code to use DiagnosticsNode.
-
- 17 Jul, 2017 1 commit
-
-
najeira authored
-
- 14 Jun, 2017 2 commits
-
-
Hans Muller authored
-
Michael Goderbauer authored
* [accessibility] Announce index if tab in tab bar * added TODO
-
- 13 Jun, 2017 1 commit
-
-
Michael Goderbauer authored
* Add SemanticsNode.isSelected flag * Adds example usage to TabBar See also https://github.com/flutter/engine/pull/3764 * Review comments * whitespace fixes * Fix doc ref and update engine roll
-
- 12 Jun, 2017 1 commit
-
-
Hans Muller authored
-
- 09 Jun, 2017 1 commit
-
-
Hans Muller authored
-
- 03 Jun, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 21 May, 2017 1 commit
-
-
xster authored
Moved everything icons related except the material icon button and the materialicon font list to widget
-
- 28 Apr, 2017 1 commit
-
-
Adam Barth authored
This patch finishes documenting all the symbols except for those related to scrolling.
-