4907 Commits

Author SHA1 Message Date
Jonah Williams
a6cdc2b732
mention Text.rich on RichText (#18434) 2018-06-15 11:27:06 -07:00
Jonah Williams
1793ed79b1
invert children for real (#18489) 2018-06-15 11:22:15 -07:00
Michael Goderbauer
6ab3abfbc3
Fix clipping for SliverLists (#18410) 2018-06-15 10:11:40 -07:00
Michael Goderbauer
409007827b
Keep TextFields visible when keyboard comes up (#18291)
Fixes #10826.

Also in this PR: If you focus a text field, scroll it out of view and then start typing it will scroll back into view.
2018-06-15 10:11:10 -07:00
Mikkel Nygaard Ravn
e713b3349a
Update all packages (#18506) 2018-06-15 17:46:36 +02:00
Danny Tuppeny
86ed141bef
Revert "Update all packages (#18471)" (#18492)
This reverts commit e593dc70e8871a4407d74aa05640bc13bf58f651.
2018-06-15 09:13:09 +01:00
xster
020e0ef55c
Add some more dart doc to RepaintBoundary (#17183) 2018-06-14 13:17:08 -07:00
Danny Tuppeny
e593dc70e8
Update all packages (#18471)
"flutter update-packages --force-upgrade"
2018-06-14 21:09:32 +01:00
Chris Bracken
2ae48845a8
Revert elimination of Dart 1 (#18460)
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 6c56bb2. (#18362)
This reverts commit 3daebd0. (#18316)
2018-06-13 12:46:39 -07:00
xster
210e2fa333
Fix ListView dartdoc where a paragraph doesn't flow with the section heading and the other paragraphs in the section (#18430) 2018-06-13 12:37:51 -07:00
Yegor
b401e76554
fix some TextInputType dartdocs (#18427) 2018-06-13 09:20:19 -07:00
Alexandre Ardhuin
e45836f271
enable lint avoid_field_initializers_in_const_classes (#18415) 2018-06-13 07:20:18 +02:00
Hans Muller
0f0cc4490b
Scaffold bottomSheet parameter: persistent, not a route (#18379) 2018-06-12 14:28:24 -07:00
Dan Field
b760ce0f5d
expose PathOperation (#18383) 2018-06-12 01:25:49 -04:00
Jonah Williams
e3d9ecaead
Add ability to cache images by size (#18135) 2018-06-11 17:21:22 -07:00
Greg Spencer
6c56bb2420
Update typedef syntax to use Function notation and turn on lint for old notation. (#18362)
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.
2018-06-11 15:51:45 -07:00
Edman P. Anjos
d454629a06 Add @isTest annotation to testGesture (#18311)
Notifies IDEs this is a test method, and helps e.g. the flutter plugin
recognize test methods and display them in the structure view in intellij.
2018-06-11 07:16:39 -07:00
Dan Field
625ac52360
update tests for TextStyle changes in engine (#17982)
* update tests for TextStyle changes in engine

* roll engine, support Foreground on TextStyle

* Support for saving Dart compilation trace on device
2018-06-10 14:08:35 -04:00
Hans Muller
691cbee613
Add locale parameter to EditableText (#18222) 2018-06-09 08:23:59 -07:00
Jonah Williams
e186a164c8
Add 'header' SemanticsFlag to AppBar, NavBar (#18289) 2018-06-08 10:28:12 -07:00
Jonah Williams
d803f02d4f
Add activeIcon property to BottomNavigationBarItem (#18125) 2018-06-07 15:42:54 -07:00
Jonah Williams
0891a1136b
update a11y for material slider (#18005) 2018-06-07 15:41:35 -07:00
matthew-carroll
3bc906d372
Extracted an ImplicitlyAnimatedWidgetState from AnimatedWidgetBaseState (#18181)
Extracted a superclass from AnimatedWidgetBaseState that is called ImplicitlyAnimatedWidgetState. ImplicitlyAnimatedWidgetState implicitly animates, but it does not call setState() automatically. Subclasses must respond to animation changes themselves. This is a useful optimization for Widgets whose render objects listen to animations directly. (#18173)
2018-06-07 14:04:30 -07:00
Michael Goderbauer
3b9b5acefc
showOnScreen Improvements (#18252) 2018-06-07 10:07:52 -07:00
Michael Goderbauer
06140f2b14
Closing search with system back button works (#18174)
Fixes #18145.
2018-06-06 16:35:05 -07:00
amirh
0a26ac0970
_markNeedsClip() when clipper type has changed. (#18248)
A bug in _RenderCustomClip was compaeing the type of oldClipper to
itself instead to the type of newClipper.

This was the root cause for the crash #14937 worked around.
This also reverts the workaround introduced in #14937.
2018-06-06 15:28:20 -07:00
Edman P. Anjos
4bbd4ce981 Surface border parameter in CupertinoSliverNavigationBar (#18194)
* Surface border parameter in CupertinoSliverNavigationBar (#18152)

* Add tests for CupertinoSliverNavigationBar border

* Remove unused keys, find by descendant
2018-06-06 11:44:06 -07:00
xster
ac0c44fc1a
Small fidelity adjustments for Cupertino (#18104) 2018-06-05 15:38:05 -07:00
Michael Goderbauer
12eeb94c89
Compare SemanticsHandler# at end of test to value at beginning of test (#18183) 2018-06-05 12:24:56 -07:00
Hans Muller
04e0fcb00e
Fixed a typo in the render paragraph locale setter (#18189) 2018-06-05 10:55:11 -07:00
Hans Muller
e8bceabbb8
Correct OutlineBorder gapStart when InputDecoration icon is specified (#18182) 2018-06-05 10:40:49 -07:00
Alexandre Ardhuin
09276bea25
enable lint prefer_equal_for_default_values (#18156) 2018-06-05 08:50:40 +02:00
matthew-carroll
e396cc79ea
Documented embedded navigators in the Navigator class file (#15040). (#18051)
* Documented nested navigators in the Navigator class file (#15040).
2018-06-04 17:20:04 -07:00
Tran Huy Phuc
34933f801f TextFormField/TextField - remove spaces in character counter (#18096)
* TextFormField/TextField - remove spaces in character counter(follow material design guidelines)
2018-06-04 09:41:31 -07:00
matthew-carroll
4cd5870ece
Added docs to CupertinoAlertDialog to explain title, content, and button styling (#18128) (#18129) 2018-06-01 15:57:01 -07:00
Michael Goderbauer
62e87c8e6f
Start refresh while bouncing back to 0.0 from overscroll on iOS (#18012) 2018-06-01 15:22:57 -07:00
Michael Goderbauer
026c89835f
Clarify Offstage docs (#18089) 2018-06-01 15:22:33 -07:00
Michael Goderbauer
4c5303a204
Unfocus textfield if it is disabled (#18097) 2018-06-01 09:40:52 -07:00
Ian Hickson
b83749cab0
Golden file tests for clip (#18056)
Also, fixes "flutter run" for golden tests, and some docs.
2018-06-01 00:23:26 -07:00
Ian Hickson
72c459bcfc
Fix crash when painting empty tables (#17952) 2018-05-31 22:47:25 -07:00
Ian Hickson
1891173999
Spacer should only flex in the main axis direction. (#18052) 2018-05-31 20:38:37 -07:00
Alexander Markov
ed20de0ae9
Restore omitted optional 'new' to fix Flutter gallery in Dart 1 mode (#18087) 2018-05-31 17:48:09 -07:00
Hans Muller
f1e4defbbc
Pass locale along to RenderParagraph (#17879) 2018-05-31 11:01:24 -07:00
Ian Hickson
9f1e76e967
Clean up baseline logic in material library. (#17922) 2018-05-30 22:53:03 -07:00
Dan Field
587a1b7708
Expose Gradient.radial (#17826)
* Expose Gradient.radial

* cleanup doc

* update tests, null check

* add asset images
2018-05-30 21:45:21 -04:00
Victor Choueiri
d57cc44f05 Add SweepGradient (#17368)
This PR adds a SweepGradient class, extending Gradient to expose the engine's ui.Gradient.sweep shader.

Similar to LinearGradient and RadialGradient - SweepGradients can be used in a BoxDecoration or passed to a Paint's shader.
2018-05-30 15:18:17 -07:00
Jonah Williams
6fc7199dcc
Add outer gesture detector to increase mini-fab size to 48x48 (#17921) 2018-05-30 14:54:39 -07:00
Greg Spencer
b921fdc58e
Revert "Update typedef syntax to use Function notation and turn on lint for old notation. (#18035)" (#18041)
This reverts commit 3258602073c6a05b1b051fddf644cba92116694b.
2018-05-30 13:51:14 -07:00
Greg Spencer
3258602073
Update typedef syntax to use Function notation and turn on lint for old notation. (#18035)
Fixes #18028

Just changes typedef declarations, no logic changes.
2018-05-30 12:13:58 -07:00
Mikkel Nygaard Ravn
055ad0ce4c
Fix typos (#18017) 2018-05-30 11:12:33 +02:00