- 09 Jun, 2016 1 commit
-
-
Matt Perry authored
This repo contains the final licensed images.
-
- 08 Jun, 2016 1 commit
-
-
Matt Perry authored
Also update the assets version to pull in better quality logo images. BUG=https://github.com/flutter/flutter/issues/4407
-
- 07 Jun, 2016 2 commits
-
-
Adam Barth authored
We have these details objects for the same reason we now have drag details objects: future extensibility.
-
Todd Volkert authored
Fixes 3544
-
- 03 Jun, 2016 2 commits
-
-
Hans Muller authored
-
Adam Barth authored
Previously we supplied individual parameters to the various drag and pan callbacks. However, that approach isn't extensible because each new parameter is a breaking change to the API. This patch makes a one-time breaking change to the API to provide a "details" object that we can extend over time as we need to expose more information. The first planned extension is adding enough information to accurately produce an overscroll glow on Android.
-
- 02 Jun, 2016 3 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
Adam Barth authored
This required refactoring some cases where we weren't following the rules for the protected annotation.
-
- 25 May, 2016 1 commit
-
-
Seth Ladd authored
* compress text assets for docs, when uploading * reorder args * ensure old files are deleted * recurse on the cp * set source path correctly
-
- 24 May, 2016 1 commit
-
-
Hans Muller authored
-
- 23 May, 2016 1 commit
-
-
Ian Hickson authored
Our microbenchmarks now run on real devices.
-
- 21 May, 2016 1 commit
-
-
Ian Hickson authored
Fixes the breakage that https://github.com/flutter/flutter/pull/4092 would cause.
-
- 20 May, 2016 1 commit
-
-
Mitch Rudominer authored
* New Material Design calculator example. (Attempt 2 after git fetch upstream). * Responded to code review. * Second round of code review.
-
- 18 May, 2016 1 commit
-
-
Ian Hickson authored
This moves all the bot-related files to `dev/bots`, hiding it from our home page in github. Also, simplifies the travis setup, though that doesn't do any difference to the performance sadly.
-
- 17 May, 2016 1 commit
-
-
Ian Hickson authored
Also, make sure that broken tests actually break the bots. And add a test to make sure that keeps happening.
-
- 16 May, 2016 5 commits
-
-
Seth Ladd authored
* gracefully handle generating docs twice * silently handle if directory doesn't exist
-
Ian Hickson authored
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.
-
Ian Hickson authored
This reverts commit 55f9145e. Turns out that this commit breaks apps that use the material library, because of the _errorTextStyle DefaultTextStyle which has inherit:true. Just setting it to false doesn't work, unfortunately, because then you hit some sort of issue with merging that text style with others that have inherit:true.
-
Adam Barth authored
To make it clear that this constructor requires an explicit style. Also throw a descriptive error recommending the inherit constructor for styles with the inherit bit set. Fixes #3842
-
Seth Ladd authored
* put an index at root of API docs bucket * ignore all of dev/docs/doc dir, fix a bug, remove private names from doc gen script * tweaks from review
-
- 13 May, 2016 2 commits
-
-
Devon Carew authored
* updates from the flutter gallery rename * rename ids to io.flutter.gallery
-
Seth Ladd authored
* add a webmaster tools verification file * also put the verification file at the root of our bucket * add comment for when we can simplify this script
-
- 12 May, 2016 1 commit
-
-
pq authored
It's safe to remove the unneeded `void`s from setters since the blocking issues in the `always_declare_return_types` lint have been fixed (https://github.com/dart-lang/linter/). We can also safely flip the bit on `avoid_return_types_on_setters`.
-
- 09 May, 2016 2 commits
-
-
Hans Muller authored
-
Jason Simmons authored
-
- 07 May, 2016 1 commit
-
-
Adam Barth authored
TextAlign applies to a whole paragraph instead of applying to an individual text span. This patch moves the property out of TextStyle and into a separate property on Text and RichText.
-
- 04 May, 2016 2 commits
-
-
Devon Carew authored
-
Devon Carew authored
-
- 03 May, 2016 1 commit
-
-
Yegor authored
The same can now be achieved using `flutter run --trace-startup --no-checked`.
-
- 01 May, 2016 2 commits
-
-
Devon Carew authored
* Revert "Revert "Mega gallery (#3647)" (#3659)" This reverts commit ea62d31f. * fix the dev/dartdoc.dart script
-
Adam Barth authored
This reverts commit 9497fb56. This patch broke the dartdoc step on the bots.
-
- 30 Apr, 2016 1 commit
-
-
Devon Carew authored
* working on a large benchmark app * build a 100k saple app * print sizes of other libs; scale to 60k lines * test the generated app on travis
-
- 29 Apr, 2016 2 commits
-
-
Adam Barth authored
Instead of incorporating the margin into the button, introduce a ButtonBar widget that supplies the proper spacing between the buttons. Also, make these buttons more configurable via ButtonTheme so that dialogs can change the minWidth and padding of the buttons as required by the spec. Fixes #1843 Fixes #3184
-
Ian Hickson authored
* Refactor widget test framework Instead of: ```dart test("Card Collection smoke test", () { testWidgets((WidgetTester tester) { ``` ...you now say: ```dart testWidgets("Card Collection smoke test", (WidgetTester tester) { ``` Instead of: ```dart expect(tester, hasWidget(find.text('hello'))); ``` ...you now say: ```dart expect(find.text('hello'), findsOneWidget); ``` Instead of the previous API (exists, widgets, widget, stateOf, elementOf, etc), you now have the following comprehensive API. All these are functions that take a Finder, except the all* properties. * `any()` - true if anything matches, c.f. `Iterable.any` * `allWidgets` - all the widgets in the tree * `widget()` - the one and only widget that matches the finder * `firstWidget()` - the first widget that matches the finder * `allElements` - all the elements in the tree * `element()` - the one and only element that matches the finder * `firstElement()` - the first element that matches the finder * `allStates` - all the `State`s in the tree * `state()` - the one and only state that matches the finder * `firstState()` - the first state that matches the finder * `allRenderObjects` - all the render objects in the tree * `renderObject()` - the one and only render object that matches the finder * `firstRenderObject()` - the first render object that matches the finder There's also `layers' which returns the list of current layers. `tap`, `fling`, getCenter, getSize, etc, take Finders, like the APIs above, and expect there to only be one matching widget. The finders are: * `find.text(String text)` * `find.widgetWithText(Type widgetType, String text)` * `find.byKey(Key key)` * `find.byType(Type type)` * `find.byElementType(Type type)` * `find.byConfig(Widget config)` * `find.byWidgetPredicate(WidgetPredicate predicate)` * `find.byElementPredicate(ElementPredicate predicate)` The matchers (for `expect`) are: * `findsNothing` * `findsWidgets` * `findsOneWidget` * `findsNWidgets(n)` * `isOnStage` * `isOffStage` * `isInCard` * `isNotInCard` Benchmarks now use benchmarkWidgets instead of testWidgets. Also, for those of you using mockers, `serviceMocker` now automatically handles the binding initialization. This patch also: * changes how tests are run so that we can more easily swap the logic out for a "real" mode instead of FakeAsync. * introduces CachingIterable. * changes how flutter_driver interacts with the widget tree to use the aforementioned new API rather than ElementTreeTester, which is gone. * removes ElementTreeTester. * changes the semantics of a test for scrollables because we couldn't convince ourselves that the old semantics made sense; it only worked before because flushing the microtasks after every event was broken. * fixes the flushing of microtasks after every event. * Reindent the tests * Fix review comments
-
- 22 Apr, 2016 1 commit
-
-
Viktor Lidholt authored
* Adds NineSliceSprite and optimizes gallery front page
-
- 21 Apr, 2016 1 commit
-
-
Ian Hickson authored
This reorders some classes so that this file makes more sense, and adds a bunch of docs. It also makes the following changes: * Move allElements from Instrumentation to TestWidgets. (Instrumentation is going away.) * Remove findElements. * Rename byElement to byElementPredicate * Rename byPredicate to byWidgetPredicate * Implement _WidgetPredicateFinder so that byWidgetPredicate has good messages * Fix one use of byElementPredicate to use byWidgetPredicate.
-
- 20 Apr, 2016 1 commit
-
-
Ian Hickson authored
The 'routes' table is a point of confusion with new developers. By providing a 'home' argument that sets the '/' route, we can delay the point at which we teach developers about 'routes' until the point where they want to have a second route.
-
- 16 Apr, 2016 1 commit
-
-
Devon Carew authored
* find all repo packages * .dartignore
-
- 15 Apr, 2016 1 commit
-
-
Yegor authored
-