Ian Hickson
8eac6cd0da
Test API improvements: pumpAndSettle, autogenerate pointer IDs ( #8751 )
2017-03-13 16:27:15 -07:00
Chris Bracken
96eea437b2
Declare locals final where not reassigned (gallery) ( #8571 )
2017-03-03 17:51:21 -08:00
Adam Barth
e0b12ca17e
Two becomes one ( #8253 )
...
Rename all the "2" classes related to scrolling to remove the "2". Now that the
old scrolling code is gone, we don't need to use the suffix.
2017-02-17 14:06:15 -08:00
Ian Hickson
0962dd6a94
More better toStrings and more vigorous smoke testing of gallery ( #8237 )
...
* More better toStrings and more vigorous smoke testing of gallery
* Update scroll_controller.dart
* Update sliver.dart
2017-02-17 12:56:25 -08:00
Ian Hickson
83a4cf269f
Port AppBar to Scrollable2 ( #7996 )
...
Move the back button and drawer opening logic into the app bar.
Move the tap-status-bar-to-scroll-to-top logic to using
ScrollControllers. Provide a PrimaryScrollController and a `primary`
flag on scroll views.
Make it possible to track when a route becomes or stops being poppable.
2017-02-08 18:16:19 -08:00
Hans Muller
0ce9917fb2
Support for vetoing an attempt to pop the current route ( #7488 )
2017-01-18 11:04:18 -08:00
Collin Jackson
f0c7f5a942
Support for overriding Gallery feedback menu item behavior ( #7091 )
2016-11-29 17:47:39 -08:00
Jason Simmons
ca5e1f3f23
In the semantics tree, do not detach a child if it has already been assigned a new parent ( #6773 )
...
Fixes https://github.com/flutter/flutter/issues/6690
Also add a version of the Gallery smoke test that enables semantics
2016-11-10 12:55:56 -08:00
Hans Muller
b329894b4d
Added byTooltip() to CommonFinders ( #6178 )
2016-10-03 12:52:06 -07:00
Hans Muller
fc83640c88
ClampOverscrolls clamps Scrollable, not its Viewport ( #5909 )
2016-09-21 11:32:19 -07:00
Dragoș Tiselice
cc3df14268
Removed Pesto's drawer. ( #5722 )
...
The drawer was confusing without adding much value. It was
especially confusing when wanting to go back to the Gallery on iOS.
Fixes #5713 .
2016-09-09 13:19:03 -07:00
Ian Hickson
9c15407ba9
When a list is scrolling, children can't be tapped ( #5222 ) ( #5348 )
2016-08-11 13:40:26 -07:00
Ian Hickson
84cbefe2d4
Revert "When a list is scrolling, children can't be tapped" ( #5264 )
2016-08-05 13:42:55 -07:00
Ian Hickson
ea7d5bf291
When a list is scrolling, children can't be tapped ( #5222 )
2016-08-05 10:40:24 -07:00
Hans Muller
445f250c91
Gallery UI tweaks ( #4861 )
2016-07-11 07:26:36 -07:00
Hans Muller
f21b140115
One list of GalleryItems to rule them all ( #4549 )
2016-06-13 16:50:12 -07:00
Matt Perry
60e7535b58
Pesto demo for the Flutter Gallery app. ( #4328 )
...
* Pesto demo for the Flutter Gallery app.
* pesto.special.case
2016-06-03 17:05:01 -04:00
Ian Hickson
bf6ae3ee76
Reenable the gallery smoke test ( #4303 )
...
...and fix some grid and table intrinsic issues it uncovered.
2016-06-01 15:34:48 -07:00
Hans Muller
41d1a9f1da
Skip gallery smoke test ( #4108 )
2016-05-23 12:04:33 -07:00
Mitch Rudominer
719add8171
New Material Design calculator example. ( #3999 )
...
* New Material Design calculator example. (Attempt 2 after git fetch upstream).
* Responded to code review.
* Second round of code review.
2016-05-20 10:27:03 -07:00
Hans Muller
b4ecaaa9f6
Enable the gallery smoke test ( #4060 )
2016-05-19 17:12:35 -07:00
Ian Hickson
3252701753
Make it possible to run tests live on a device ( #3936 )
...
This makes it possible to substitute 'flutter run' for 'flutter test'
and actually watch a test run on a device.
For any test that depends on flutter_test:
1. Remove any import of 'package:test/test.dart'.
2. Replace `testWidgets('...', (WidgetTester tester) {`
with `testWidgets('...', (WidgetTester tester) async {`
3. Add an "await" in front of calls to any of the following:
* tap()
* tapAt()
* fling()
* flingFrom()
* scroll()
* scrollAt()
* pump()
* pumpWidget()
4. Replace any calls to `tester.flushMicrotasks()` with calls to
`await tester.idle()`.
There's a guarding API that you can use, if you have particularly
complicated tests, to get better error messages. Search for
TestAsyncUtils.
2016-05-16 12:53:13 -07:00
Hans Muller
74c3e74fba
Call it Flutter Gallery ( #3801 )
2016-05-09 11:00:54 -07:00