Commit Graph

18842 Commits

Author SHA1 Message Date
Jonah Williams
ae8ff41abf Revert "Keep LLDB connection to iOS device alive while running from CLI. (#35731)" (#35996)
This reverts commit d200dc150b.
2019-07-11 10:44:41 -07:00
sjindel-google
d200dc150b Keep LLDB connection to iOS device alive while running from CLI. (#35731) 2019-07-11 18:56:48 +02:00
Greg Spencer
e8fbdd85f0 Add example showing how to move from one field to the next. (#35926)
This adds an example of how to move to the "next" field when using TextInputAction.next. This is all that is needed to have "next field" functionality in a field. I thought about making it the default when handling the "next" or "previous" actions, but it's better that the developer has control over whether or not they actually move to the next field, and within which scope.
2019-07-11 07:56:30 -07:00
Greg Spencer
3b945da00d Change focus example to be more canonical (and correct), listening to the focus node for changes. (#35913)
This changes the example for FocusNode to be more correct, listening to the focus node for changes, instead of assuming that it is the only one doing the changing.
2019-07-10 16:49:32 -07:00
Justin McCandless
ff53fbe194 Text selection menu show/hide cases (#35219)
Show and hide the text selection menu at the correct time with various gestures in the text field.
2019-07-10 14:08:14 -07:00
Tom Robinson
ef42c36ab0 Cleanup widgets/sliver_persistent_header.dart with resolution of dart-lang/sdk#31543 (#35828)
* Remove extra classes.

Now that https://github.com/dart-lang/sdk/issues/31543 is fixed, we
can remove extra classes.

* Add snapConfiguration to parameters for _RenderSliverFloatingPersistentHeaderForWidgets and _RenderSliverFloatingPinnedPersistentHeaderForWidgets constructors.
2019-07-10 13:54:27 -07:00
rami-a
70bb5d1d5a Add flag to use root navigator for showModalBottomSheet (#35878)
* Add flag to use root navigator for showModalBottomSheet

* Add documentation

* Add tests

* Address feedback and fix analyzer issues

* Address feedback

* Update comments
2019-07-10 16:07:15 -04:00
Kate Lovett
14e4565fa4 Doc fixes (#35892)
* Fixed assets embedding

* ++

* Completed snippet audit

* Analyzer
2019-07-10 12:40:35 -07:00
Ian Hickson
176ebfd53e flutter/tests support (#33140)
This introduces a script that implements the conventions described in https://github.com/flutter/tests/pull/1.
2019-07-10 12:10:28 -07:00
Jenn Magder
ec2c3f2116 Disable CocoaPods input and output paths in Xcode build phase for ephemeral add2app (#35833) 2019-07-10 10:40:15 -07:00
Shi-Hao Hong
e7ef75680e Update Dark Theme disabledColor to White38 (#35136)
* Add Colors.white38

* Update ThemeData.disabledColor and ButtonThemeData.disabledColor to Colors.white38

* Update pre-existing tests to expect Colors.white38 instead of Colors.white30

* Update API documentation to reflect these changes
2019-07-10 08:50:24 -07:00
Jonah Williams
2b20345bb8 use pub run for create test and remove [INFO] logs (#35839) 2019-07-10 08:48:01 -07:00
Greg Spencer
e3a08d2392 Remove reverseDuration from implicitly animated widgets, since it's ignored. (#35785)
When I added reverseDuration to animation controllers in #32730, I also added it to the implicit animations that Flutter has. However, as @efortuna pointed out to me, it doesn't actually do anything there, since all of the intrinsic animations run forwards, not in the reverse direction, and there's no way to reverse them.

So, this PR removes the reverseDuration argument from the implicit animations to avoid confusion.

Fixes #35769
2019-07-10 08:18:26 -07:00
John Ryan
871b58986d add sample code for AnimatedContainer (#35225)
* add sample code for AnimatedContainer

* use stateful_widget_scaffold snippet template

* add sample explanation

* add setState() to example assumptions for analyzer

* update description

* use snippet instead of sample

* change sample to match assets-for-api-docs

* remove constant

* update AnimatedContainer sample description

add indication the example is depicted by the video and animates when
tapped

* fix example formatting

* make sample conform to 80 col limit

* add "implemented below" to illustration description

* formatting for readability
2019-07-09 15:34:39 -07:00
Darren Austin
af1bd09c78 Added MaterialApp.themeMode to control which theme is used. (#35499)
Added support for a themeMode property to the MaterialApp to control
how the light or dark theme is selected.
2019-07-09 15:26:42 -07:00
Jonah Williams
adf45d1e40 Refactor signal and command line handler from resident runner (#35406) 2019-07-09 13:10:26 -07:00
Gary Qian
9c1783e989 Update TextStyle and StrutStyle height docs (#33281) 2019-07-09 10:38:01 -07:00
Anthony
aae50f541a [Material] Text scale and wide label fixes for Slider and Range Slider value indicator shape (#35496)
Various bug fixes for Slider and Range Slider value indicator around accessibility and wide labels.
2019-07-09 13:26:10 -04:00
chunhtai
a76e39f984 Rendering errors with root causes in the widget layer should have a reference to the widget (#32511) 2019-07-09 10:18:30 -07:00
Kate Lovett
97b2c98642 Navigator pushAndRemoveUntil Fix (#35223)
* Initial work

* ++

* Updated tests

* Moved TestObserver out for access across tests.

* ++

* Added hero tests

* Review feedback

* simplified preceding route overlay

* Review feedback

* trailing doc slash
2019-07-09 10:17:30 -07:00
Alexandre Ardhuin
b041a589c8 enable lint prefer_if_null_operators (#35745) 2019-07-09 10:53:35 +02:00
Hiroki Matsue
0e7cfc1e41 Add missing [applicationIcon] property to LicensePage widget (#34906)
* Add missing [applicationIcon] property to LicensePage widget
2019-07-08 17:30:28 -07:00
Michael Goderbauer
4e973adc79 Various doc fixes (#35548) 2019-07-08 17:02:25 -07:00
Jenn Magder
559c9982dd UIApplicationLaunchOptionsKey -> UIApplication.LaunchOptionsKey (#35763) 2019-07-08 16:55:27 -07:00
Dan Field
e3acb5ca71 Refactor keymapping for resident_runner (#35762) 2019-07-08 16:38:49 -07:00
Jenn Magder
f3150ed0b5 Remove Swift Obj-C Inference build setting (#35756) 2019-07-08 16:04:16 -07:00
Jonah Williams
1e26c41f17 Remove web, fuchsia, and unsupported devices from all (#35709) 2019-07-08 15:58:38 -07:00
Dan Field
39baa0995c Fix semantics for floating pinned sliver app bar (#35574) 2019-07-08 14:02:42 -07:00
Jonah Williams
cac8835de3 Update annotated region findAll implementation to use Iterable (#35725) 2019-07-08 13:32:59 -07:00
Jonah Williams
bcd28e7e45 Don't pause on tool tests (#35657) 2019-07-08 13:14:48 -07:00
Lau Ching Jun
d3eee57c0b Update the help message on precache command for less confusion (#35480) 2019-07-08 11:04:24 -07:00
Shi-Hao Hong
2ba85a22dd Simple Doc Fixes (#35743)
* Fix "the a" typos

* Rephrase global key API doc description
2019-07-08 10:42:08 -07:00
Karen Rustad Tölva
9155795883 Fix typo in main.dart templates (#35684) 2019-07-08 10:36:44 -07:00
Jonah Williams
4f0f88b5ea Disable incremental compiler in dartdevc (#35681) 2019-07-08 10:36:11 -07:00
Jonah Williams
34467289d6 Add timer checking and Fake http client to testbed (#35392) 2019-07-08 10:04:48 -07:00
Chris Yang
49cce98483 add documentation: conic path clipping not supported for UIKitView (#35063) 2019-07-08 08:24:23 -07:00
Jonah Williams
e6a7419603 disable a test case in xcode_backend.sh (#35708) 2019-07-08 08:04:48 -07:00
Todd Volkert
3bf91b5436 Prepare for Socket implements Stream<Uint8List> (#35646)
An upcoming change in the Dart SDK changes `Socket` from
implementing `Stream<List<int>>` to implementing `Stream<Uint8List>`.
This forwards-compatible change in flutter_tools prepares for that
Dart SDK change.

https://github.com/dart-lang/sdk/issues/36900
2019-07-05 12:59:32 -07:00
Jonah Williams
93edc014ae update packages (#35573) 2019-07-04 11:26:19 -07:00
Gary Qian
a0c47e2216 Do not use ideographic baseline for RenderPargraph baseline (#35493) 2019-07-03 15:04:18 -07:00
Sam Rawlins
5b6ebf1230 Add type to StreamChannel in generated test code. (#35367)
This is necessary for those who wish to comply with static analysis like
`strict-raw-types: true`, which includes generated code within their package.
2019-07-03 14:11:11 -07:00
Dan Field
f85630b18a Fix RenderFittedBox when child.size.isEmpty (#35487) 2019-07-03 12:40:06 -07:00
chunhtai
f143fd6a4f fix Selection handles position is off (#34665) 2019-07-03 10:50:10 -07:00
Jonah Williams
b8597f0a7e Move usage flutter create tests into memory filesystem. (#35160) 2019-07-03 10:49:33 -07:00
Michael Goderbauer
d41eeeb50d Include tags in SemanticsNode debug properties (#35491) 2019-07-03 09:13:37 -07:00
Michael Goderbauer
4ca7bfa0c2 Re-apply 'Add currentSystemFrameTimeStamp to SchedulerBinding' (#35492) 2019-07-03 09:13:09 -07:00
Justin McCandless
2d2bb6bf92 CupertinoTextField vertical alignment (#34723)
CupertinoTextField now supports vertical alignment via the textAlignVertical parameter.
2019-07-03 08:22:31 -07:00
Todd Volkert
4cd12fc8b7 Mark update-packages as non-experimental (#35467)
Marking it as experimental was breaking tests and packaging
scripts on stable branches.
2019-07-02 18:24:25 -07:00
Jonah Williams
556e374e02 fix default artifacts to exclude ios and android (#35303) 2019-07-02 17:40:55 -07:00
Siva
f496595773 Use the new service protocol message names (#35482)
* Use the new service protocol message names
  clearVMTimeline
  setVMTimelineFlags
  getVMTimeline
  getVMTimelineFlags

* Fix clearTimeline at another spot.
2019-07-02 16:10:04 -07:00