4800 Commits

Author SHA1 Message Date
Ian Hickson
e239872561
ClipPath.shape and related fixes (#24816) 2018-12-23 15:21:11 -08:00
Ian Hickson
c5ad1067b7
Handle errors in compute() by propagating them to the Future. (#24848) 2018-12-23 15:20:45 -08:00
Ian Hickson
273364e2bc
Fix merge conflict. (#25718) 2018-12-23 11:13:53 -08:00
Ian Hickson
c0b20a76de
Some minor tweaks to InputDecoration (mainly docs). (#24643) 2018-12-23 10:12:42 -08:00
Gary Qian
2e2f19d3e9
Expose font fallback API in TextStyle, Roll engine 54a3577c0139..215ca1560088 (8 commits) (#25585) 2018-12-21 19:07:01 -08:00
Hans Muller
4857267e65
Updated Shrine demo (#25674) 2018-12-21 17:47:25 -08:00
Alexandre Ardhuin
19ce65eec9
no period after an alone link in see also section (#25604) 2018-12-21 19:23:42 +01:00
xster
b3b764c9d3
Revise Android and iOS gestures on Material TextField (#24457) 2018-12-20 16:54:19 -08:00
Stanislav Baranov
eb7a59b6d7
Switch over to the new name for compilation trace native function (#25594)
* Switch over to the new name for compilation trace native function.

Also see: https://github.com/flutter/engine/pull/7256

* rename

* roll the engine
2018-12-20 16:07:36 -08:00
xster
b6248e26b3
Fix material reference in CupertinoPicker doc (#25584) 2018-12-20 16:07:12 -08:00
xster
d1ec126a3c
Let CupertinoTabScaffold handle keyboard insets too (#25593) 2018-12-20 15:02:53 -08:00
Justin McCandless
ca8ba58b02
Right aligned backspace bug (#25229)
* Fix bug in calculation of downstream text distance when aligned: right

* After having affinity explained to me, match getOffset and tests to
expected behavior

* Clean up test formatting and fix analyze errors

* Improve test comments and reorganize a bit

* Specify logical pixels
2018-12-20 11:03:51 -08:00
Hans Muller
ee3571c946
Update DayPicker,DatePicker doc "see also" sections (#25573) 2018-12-20 08:18:54 -08:00
jslavitz
3d8aec2b99
Adds force press gesture detector and recognizer (#24554)
* adds Force Press gesture detector and recognizer
2018-12-19 20:09:07 -08:00
Gary Qian
a282058d69
Use full textspan tree instead of top level textspan (#25574) 2018-12-19 15:43:53 -08:00
Alexandre Ardhuin
316d74f62d
fix indentation in doc comments (#25521) 2018-12-19 21:12:49 +01:00
MH Johnson
6e15572867
[Material] Theme-able TextStyles for AlertDialog (#25339)
* Themable elevation on dialogs.

* AlertDialogs Title/Content text styles

* Themable elevation on dialogs.

AlertDialogs Title/Content text styles

* finish merging change

* fixing tests

* Docs fixes

* Change const to final to fix analyzer errors

* Fix analyzer errors

* Remove dart:ui import

* Hans Comments
2018-12-19 13:52:10 -05:00
xster
b8a035a3d4
Adds CupertinoTheme (#23759) 2018-12-18 20:36:35 -08:00
Alexandre Ardhuin
e41f1463cd
make see also sections uniform (#25513) 2018-12-18 21:45:20 +01:00
Hans Muller
324f275981
TransitionRoute.canTransitionFrom,To() doc update (#25477) 2018-12-18 11:38:16 -08:00
Gary Qian
a3dd2eee98
Fix typo (#25237) 2018-12-18 10:25:11 -08:00
Gary Qian
f8964ae250
Iterate through potential grapheme cluster lengths in text painter (#24797) 2018-12-18 10:21:04 -08:00
Michael Goderbauer
21c6dda1a1
assert(elevation >= 0.0) and doc clarifications (#25345) 2018-12-18 10:18:48 -08:00
Justin McCandless
89fa4cc502
Add InputDecoration alignLabelWithHint parameter (#24993)
* InputDecorator param for alignment of label

* Put baseline/center code in the right place where label is layed out

* Fix existing test

* Test top label positioning

* Rename to alignLabelWithHint, and make it a bool

* Test for TextField with and without alignLabelWithHint set

* alignLabelWithHint in theme as well

* debugFillProperties addition and test

* Small style fixes for review

* Fix analyze const error
2018-12-18 10:04:20 -08:00
Hans Muller
9b6229ab56
TextField.onChanged() doc update (#25473) 2018-12-18 09:03:57 -08:00
Alexandre Ardhuin
32d65fef1c
fix some formatting issues (#25474) 2018-12-18 10:05:12 +01:00
Justin McCandless
a039b2ca8c
Revert "Revert "obscureText and enableInteractiveSelection defaults"" (#25342)
* Revert "Add imports section to sample code templates, and more docs. (#25184)"

This reverts commit 95b01247852e957719c55bd9939dc0c1e1e13e91.

* Revert "Use stderr instead of stdout to contain errors in flutter attach test (#25305)"

This reverts commit 2b819dd257b85179f16ed6f8511c3728c58babec.

* Revert "Allow detection of taps on TabBar (#23919)"

This reverts commit 01694ab62d33d345718d26e32a80db8d553f0ace.

* Revert "a549981da Roll src/third_party/skia a69b10312977..5eb29448dfbd (1 commits) (flutter/engine#7211) (#25333)"

This reverts commit a37099f3b16cf218980f864effa1b99cbd6d2ffd.

* Revert "Revert "obscureText and enableInteractiveSelection defaults (#24527)" (#25335)"

This reverts commit c5457068df5feb8aa0fdecb05de4260962760b2a.

* Password fields are no longer selectable nor copiable
2018-12-17 11:15:27 -08:00
Michael Goderbauer
59bfab157e
Reland "Call mark* methods before attaching child (#25239)" (#25395)
This reverts commit ea7d086e11e31d32fef1f6217566361f763c1429.

The revert did not fix the flakiness.
2018-12-15 13:29:54 -08:00
Stanislav Baranov
c5251cdc02
Flutter tool support for automatic saving of JIT compilation trace (#25301) 2018-12-14 16:09:17 -08:00
Hans Muller
30fb97be42
Fixed Typography null factory constructor (#24932) 2018-12-14 16:01:17 -08:00
jslavitz
ad2e3eb3b5
Adds support for floating cursor (#25384)
* Adds support for floating cursor.
2018-12-14 15:17:33 -08:00
S McDowall
4c24bcc862 Remove TextField.noMaxLength, use maxLength = -1 instead (#24999) 2018-12-14 14:18:35 -08:00
Jonah Williams
a0efb78640
Revert "drop/restore focus when app becomes invisible/visible" (#25390) 2018-12-14 12:45:07 -08:00
Hans Muller
8c439fd39f
IntrinsicWidth stepWidth or stepHeight == 0.0 (#25228) 2018-12-14 12:30:01 -08:00
Jonah Williams
ff97e255b5
drop/restore focus when app becomes invisible/visible (#24744) 2018-12-14 12:15:52 -08:00
Michael Goderbauer
ea7d086e11
Revert "Call mark* methods before attaching child (#25239)" (#25382)
This reverts commit 5c1f1d7618e27a3ed5a97971edc95eff9d0ba967.

Reverting to see if that fixes flakiness of flutter_gallery__transition_perf_with_semantics in devicelab.
2018-12-14 10:30:49 -08:00
Jonah Williams
4cd87705b7
Revert "Adds support for floating cursor (#24761)" (#25352)
This reverts commit 46878d848566769e51f21407de2fead528c1d2c4.
2018-12-13 20:36:08 -08:00
jslavitz
46878d8485
Adds support for floating cursor (#24761)
* Adds support for floating cursor!
2018-12-13 20:14:27 -08:00
Jasper van Riet
01694ab62d Allow detection of taps on TabBar (#23919) 2018-12-13 13:01:34 -08:00
Justin McCandless
c5457068df
Revert "obscureText and enableInteractiveSelection defaults (#24527)" (#25335)
This reverts commit f8f5953d8002cb17b861486dff93e5456ca54efd.
2018-12-13 11:58:37 -08:00
Justin McCandless
f8f5953d80
obscureText and enableInteractiveSelection defaults (#24527)
* obscureText true defaults to disabling selection

* Tests and comments for selectable text field

* Improve selection docs

* Refactor so that all enableInteractiveSelection params are null by default, delegate to selectionEnabled

* Fix selection param macros
2018-12-13 11:09:13 -08:00
Justin McCandless
952d24bf1e
Text field style merge (#24449)
* Merge TextField style with global style so that style changes don't override unspecified fields

* Test that a style param is merged with the theme

* Test a few more style properties

* Analysis fix
2018-12-13 08:32:55 -08:00
MH Johnson
92efec3998
[Material] Theme-able elevation on dialogs. (#24169)
* Themable elevation on dialogs.

* Added `BackgroundColor` in widget + theme

* Addressing Comments

* Fix test name

* Add debugFillProperties test
2018-12-13 09:11:01 -05:00
Michael Goderbauer
5c1f1d7618
Call mark* methods before attaching child (#25239) 2018-12-12 16:45:51 -08:00
Justin McCandless
9a8e2f0c4b
Validate style in TextField (#24587)
* Validate style in TextField

* Fix analyze problems

* Use assert and move to top

* Simplified assertion
2018-12-12 09:44:43 -08:00
Trevor Wang
114335dff0 Support TextField multi-line hint text #20941 (#24976) 2018-12-11 22:46:05 -08:00
xster
65df90d8b5
Add navigatorKey to CupertinoTabView (#25183) 2018-12-11 19:29:13 -08:00
Michael Goderbauer
8ca8dbf062
Do not fade out text for pinned & floating AppBar (#25051) 2018-12-11 19:24:00 -08:00
Hans Muller
234855ca3d
Handle a TabBarView special case: last tab deleted before animation ends (#24892) 2018-12-11 14:22:27 -08:00
Jimmy Casey
3cca1a2ec3 Fixed Spelling. (#25217) 2018-12-11 10:50:51 -08:00