Aman Gupta
c33d8f4e0e
updated_title_property_apidocs ( #63884 )
2020-09-08 15:50:04 -07:00
Alex Fourman
46eacc5462
adds additional guidance on how to use of correctly. ( #64791 )
2020-09-08 12:50:04 -07:00
Ian Hickson
1a010de89f
Make Container always clip a decoration if it has a clip edge ( #64840 )
...
This allows us to rationalize the nullability of some of our APIs.
Prior to this we'd end up in a situation where Container assumed that
getClipPath would be non-null but Decoration was ok with return null.
2020-09-08 12:06:28 -07:00
chunhtai
9cb2d4d65c
Fixed the sliver appbar to have a fixed traversal order ( #65049 )
2020-09-08 12:05:02 -07:00
Per Classon
0bb1e573fc
Revert "Add DataTableTheme to allow for themable DataTables ( #64316 )" ( #65382 )
...
This reverts commit cb4b8677219482e3378b1b6bfeff1241a453ccb6.
2020-09-08 15:28:13 +02:00
Ian Hickson
e10bdbbd9d
Fix RangeMaintainingScrollPhysics ( #65135 )
2020-09-07 11:40:03 -07:00
Zachary Anderson
02d0163244
Revert "ScaffoldMessenger ( #64101 )" ( #65257 )
...
This reverts commit 48f1a0a8d5531a08de638f087678770dd26b01ba.
2020-09-04 13:46:53 -07:00
Kate Lovett
48f1a0a8d5
ScaffoldMessenger ( #64101 )
2020-09-03 15:55:04 -07:00
Kate Lovett
20936eeac4
Allow for arbitrary placement in SliverGrid ( #64750 )
2020-09-03 11:20:04 -07:00
Sahand Akbarzadeh
33c619c9ac
fix Container.clipBehaviour, clips the shadow in decoration ( #64362 )
2020-09-03 10:40:03 -07:00
xster
2032a448ed
Update CupertinoIcons to cupertino_icons 1.0.0 based on SF Symbols ( #65083 )
2020-09-02 23:36:19 -07:00
Juyeong Lee
0b4dad6553
Update hintColor value for Material ( #65036 )
2020-09-02 16:55:05 -07:00
Smadey
68c1b441be
Clamp TabController animation value when calc _DragAnimation.value ( #64715 )
2020-09-02 16:45:06 -07:00
xubaolin
280e6d6c01
Remov redundant import of dart:math ( #65060 )
2020-09-02 16:40:04 -07:00
Tom Rivoire
2f96d1f026
Fix contentPadding documentation accent ( #65094 )
2020-09-02 15:41:19 -07:00
Per Classon
cb4b867721
Add DataTableTheme to allow for themable DataTables ( #64316 )
2020-09-02 15:40:06 -07:00
Nan Kim
608f0606af
SizeTransition sample code ( #63833 )
2020-09-02 15:35:04 -07:00
xubaolin
c7353bc414
Slider and RangeSlider can be painted in a narrower constraint like other Material Wi… ( #64627 )
2020-09-02 11:20:03 -07:00
Pedro Massango
7fdd9218b0
Proposal: deprecate autovalidate parameter of the Form, FormField and TextFormField widget ( #61648 )
2020-09-02 11:15:05 -07:00
Tim Sneath
ba78539bdb
Expand Cupertino library comment ( #64979 )
2020-08-31 19:13:04 -07:00
Jonah Williams
7aa8c2ab99
[null-safety] remove mockito from scrollbar test ( #64493 )
...
More work towards #62886
2020-08-31 13:27:12 -07:00
Jonah Williams
09a9671ed3
[semantics] avoid sync* and excessive list copies ( #64879 )
...
Previous benchmarks have established the performance of sync*. Additionally, why allocate a list when you don't need to? Since these APIs are private, they can be re-arranged a bit to avoid creating as many lists. Will probably not have a large effect on benchmarks
2020-08-31 12:15:26 -07:00
Dan Field
3aa0243ab7
Remove assert about release mode ( #64813 )
...
b/150295238 has been resolved for a while now.
2020-08-31 10:03:12 -07:00
Chris Bracken
c0ea00ed3f
Prefer moreOrLessEquals over closeTo ( #64915 )
...
Flutter's `moreOrLessEquals` has a few advantages over `closeTo` from
the `matcher` package:
* It emits the epsilon value in the test result on failure.
* It uses a named parameter for epsilon, which improves readability
at the call site.
* It has a reasonable default for epsilon in cases where something
more specific isn't required.
Using it also has the nice property that it aids in its own discovery
when when people go looking for such functionality in new tests.
This change also includes a couple unrelated whitespace formatting cleanups.
2020-08-30 22:20:16 -07:00
Chris Bracken
c935a44869
Prefer moreOrLessEquals to closeTo ( #64914 )
...
moreOrLessEquals is the preferred mechanism for checking that a value is
within some error bound epsilon, with default value for epsilon of
precisionErrorTolerance.
This patch replaces instances of closeTo using precisionErrorTolerance.
2020-08-30 22:19:16 -07:00
Chris Bracken
8fa5c55e54
Match lerped values using moreOrLessEquals ( #64908 )
...
Several of our tests make use of numbers without an exact floating point
representation (frequently 0.x where x!=5) which, when scaled, also
scale the error. The end result is that some of these tests currently
implicitly rely on an implementation detail of floating point math and
are sensitive to differences in the ~15th decimal place.
This patch reduces the sensitivity of some of these tests, checking
values using `moreOrLessEquals` from the flutter_test package
rather than requiring en exact match.
2020-08-30 19:05:20 -07:00
LongCatIsLooong
fe55dc2b13
Reland "Prevent viewport.showOnScreen from scrolling the viewport if the specified Rect is already visible. ( #56413 )" reverted in #64091 ( #64513 )
2020-08-28 22:13:04 -07:00
callumsteele4
e37b427a2a
Fix Android autofill username hint docs ( #64776 )
2020-08-28 16:18:06 -07:00
gaowanqiu
619eccd2e3
Fix negative usableCrossAxisExtent in release mode ( #64441 )
2020-08-28 16:13:05 -07:00
xubaolin
c26c2363a0
Slider paint incorrectly when the track shape is rectangular ( #64534 )
2020-08-28 16:08:10 -07:00
Broccolism
f1a2357463
feat: Text constructor, overflow, and softWrap docs ( #64175 )
2020-08-28 16:08:06 -07:00
Broccolism
f690577f88
Update: Documentation for ListView constructor should warn about changing widget list ( #63503 )
2020-08-28 16:03:04 -07:00
Paul Berry
60494b4c1e
Remove unnecessary downcasts on numeric operations. ( #64760 )
2020-08-28 10:58:04 -07:00
xubaolin
a3fe33af65
The OverscrollIndicator should not overflow the scrollable view's edge ( #64239 )
2020-08-28 10:38:05 -07:00
Justin McCandless
8f370dff65
SelectableText long press on iOS ( #63994 )
2020-08-28 10:33:05 -07:00
Matt Carroll
57b6952471
Added support for lerpDuration() ( #64668 )
2020-08-27 16:48:05 -07:00
chunhtai
fbc15384bb
Fixes router to not report route information when it is already up to… ( #64596 )
2020-08-27 16:43:05 -07:00
Ian Hickson
8a6a76a334
migrate rendering to nullsafety ( #64621 )
2020-08-27 16:38:10 -07:00
Ming Lyu (CareF)
dcdee4bb0d
Add resampler unit test with widget ( #64424 )
2020-08-27 16:38:05 -07:00
Mouad Debbar
e7a35a67ce
[web] Enable word boundary tests ( #64570 )
2020-08-26 21:23:03 -07:00
younghwan
5559b6d0ab
Update Visibility docs on maintainSize ( #64148 )
2020-08-26 20:48:04 -07:00
Haeseok Lee
86814cabc4
Fixed the description of the focusColor property included in input_decorator ( #63981 )
2020-08-26 20:43:05 -07:00
Alexander Brusher
39e7eeaed1
Disables tests failing due to new semantics flag. ( #63595 )
2020-08-26 20:38:05 -07:00
Remi Rousselet
68c31d3d09
Use a LinkedList to improve the performance of ChangeNotifier ( #62330 )
...
* Use a LinkedList in ChangeNotifier implementation to take O(N^2) notification time to O(N)
2020-08-26 11:34:03 -07:00
Jonah Williams
562986108e
Revert "Reland: Increase threshold for usage of compute for utf8 decoding on large strings to 50 KB ( #64498 )" ( #64652 )
...
This reverts commit 54e2a0e6944ac04a9fb4b4b3fe96281daeee93b4.
2020-08-26 10:51:09 -07:00
Ian Hickson
4fcc2617d5
Migrate physics tests to NNBD ( #64584 )
2020-08-26 00:46:03 -07:00
Dan Field
d0596582fe
Fix tests that use bogus objects, update TestImageInfo interface ( #64599 )
2020-08-25 23:26:06 -07:00
Greg Spencer
c8bbb522c5
Protect against null context in release mode ( #64474 )
2020-08-25 13:01:03 -07:00
LongCatIsLooong
6536f65048
Revert "Warns when single line text fields overflow ( #63639 )" ( #64573 )
...
This reverts commit 0ab5ecc86b1f13854ecc0cb4a89fbdc9938c5212.
2020-08-25 11:11:15 -07:00
chunhtai
39d7a019c1
Reland "fix wrap intrinsic height calculation ( #63420 )" ( #64276 )
2020-08-25 10:01:07 -07:00