- 11 Oct, 2017 1 commit
-
-
Hans Muller authored
-
- 28 Sep, 2017 1 commit
-
-
Ian Hickson authored
-
- 21 Sep, 2017 2 commits
-
-
Alexandre Ardhuin authored
-
xster authored
* Refactor CupertinoScaffold * Rename rootTabPageBuilder to tabBuilder * fix tab transparency padding * add a CupertinoTab * Add default background color * Add a bunch of examples * A bunch of tests * Refactor CupertinoScaffold * Rename rootTabPageBuilder to tabBuilder * fix tab transparency padding * Add default background color * review notes * fix test * review * Rename CupertinoTab to CupertinoTabView * remove final ; in sample code for analyzer
-
- 15 Sep, 2017 2 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
- 12 Sep, 2017 1 commit
-
-
gspencergoog authored
Adds a default title to the Title widget, fixes #6802.
-
- 08 Sep, 2017 1 commit
-
-
Hans Muller authored
* Make an app's supported locales configurable * Added an supportedLocales.isNotEmpty assert * WidgetsApp no longer const because supportedLocales.isNotEmpty * updated per review feedback * tweaked dartdoc to restart the build * updated per review feedback * Updated per review feedback
-
- 31 Aug, 2017 1 commit
-
-
Hans Muller authored
-
- 28 Aug, 2017 1 commit
-
-
Ian Hickson authored
* Introduce a Directionality inherited widget which sets the ambient LTR vs RTL mode (defaulting to null, which means you cannot use directionality-influenced values). * Make it possible to configure Padding (including Container.padding and Container.margin) using a directionality-agnostic EdgeInsets variant. * Provide textDirection and verticalDirection controls on Row and Column to make them RTL-aware. * Introduce a variant of FractionalOffset based on the EdgeInsets variant. Not yet actually used. * Fix all the tests that depended on Row defaulting to LTR.
-
- 24 Aug, 2017 1 commit
-
-
Hans Muller authored
-
- 21 Aug, 2017 1 commit
-
-
Jacob Richman authored
Bare bones widget inspector support. Toggle the widget inspector from the flutter tool by pressing 'i'. When the widget inspector is select mode: Pointer down to to inspect a widget. Pointer click to finalize selection of a widget. You can now interact with the application as you normally would but with the inspected widget highlighted. Click the inspect icon in bottom left corner of screen to reactivate select mode.
-
- 21 Jul, 2017 1 commit
-
-
gspencergoog authored
* Prefix and Suffix support for TextFields * Adding Tests * Removing spurious newline. * Fixing a small problem with the test * Code review changes * Code Review Changes * Review Changes * Export the new StrokeJoin enum * Added example for line styles, and enabled line join styles. * Reverting inadvertent change to main.dart. * Updated due to code review of engine code * Removed example. * Added arguments to named routes, with test. * Fixing some formatting * Fixing Navigator.pop for named routes. * Fixing comment. * Simplifying test. * Fixing new -> const for Text object. * Tiny text change (also to kick a new Travis build) * Added a more realistic test case. * Reverting unintentional iml changes. * Fixing trailing newline * Removing some changes that snuck in.
-
- 23 Jun, 2017 1 commit
-
-
Ian Hickson authored
The main purpose of this PR is to make it so that when you set the initial route and it's a hierarchical route (e.g. `/a/b/c`), it implies multiple pushes, one for each step of the route (so in that case, `/`, `/a`, `/a/b`, and `/a/b/c`, in that order). If any of those routes don't exist, it falls back to '/'. As part of doing that, I: * Changed the default for MaterialApp.initialRoute to honor the actual initial route. * Added a MaterialApp.onUnknownRoute for handling bad routes. * Added a feature to flutter_driver that allows the host test script and the device test app to communicate. * Added a test to make sure `flutter drive --route` works. (Hopefully that will also prove `flutter run --route` works, though this isn't testing the `flutter` tool's side of that. My main concern is over whether the engine side works.) * Fixed `flutter drive` to output the right target file name. * Changed how the stocks app represents its data, so that we can show a page for a stock before we know if it exists. * Made it possible to show a stock page that doesn't exist. It shows a progress indicator if we're loading the data, or else shows a message saying it doesn't exist. * Changed the pathing structure of routes in stocks to work more sanely. * Made search in the stocks app actually work (before it only worked if we happened to accidentally trigger a rebuild). Added a test. * Replaced some custom code in the stocks app with a BackButton. * Added a "color" feature to BackButton to support the stocks use case. * Spaced out the ErrorWidget text a bit more. * Added `RouteSettings.copyWith`, which I ended up not using. * Improved the error messages around routing. While I was in some files I made a few formatting fixes, fixed some code health issues, and also removed `flaky: true` from some devicelab tests that have been stable for a while. Also added some documentation here and there.
-
- 08 Jun, 2017 1 commit
-
-
perlatus authored
* Check for initialRoute before Navigator.defaultRouteName * Default initialRoute to Navigator.defaultRouteName * Take suggestions from code review * Add test for old and new routes behavior * Revert "Add test for old and new routes behavior" This reverts commit 282fb64b165ed532583e9a5d2e4debe29469fba4. * Retry: without dartfmt, with dartanalyzer * Rename tests, check the routes are taken * Fix flutter analyze --flutter-repo warnings * Add test for initial vs default route * Update test and fix analyzer warnings * Add test for initial route only being used initially
-
- 03 Jun, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 12 May, 2017 1 commit
-
-
- 11 Apr, 2017 1 commit
-
-
xster authored
Rename State.config to State.widget Rename State.didUpdateConfig to State.didUpdateWidget Renamed all State subclasses' local variables named config to something else
-
- 04 Apr, 2017 1 commit
-
-
Adam Barth authored
This method seemed overly specific to the needs of one particular subclass. This patch duplicates some code but makes the API conceptually cleaner. Fixes #8267
-
- 21 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
* use color.shadeXxx instead of color[Xxx] * remove calls to .shade500 on MaterialColor * remove calls to .shade200 on MaterialAccentColor * fix test
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
Covers lib/ in package:flutter.
-
- 17 Feb, 2017 2 commits
-
-
Adam Barth authored
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.
-
Adam Barth authored
All the clients have migrated to Scrollable2.
-
- 14 Feb, 2017 1 commit
-
-
Adam Barth authored
This feature is wired in differently in the new scrolling world.
-
- 04 Feb, 2017 1 commit
-
-
weisong0 authored
* allow mulitple observers for Navigator and MaterialApp * add test for the navigator observers * fix style * add test for adding/removing a navigator observer
-
- 03 Feb, 2017 1 commit
-
-
Adam Barth authored
This patch makes a number of changes to how you can configure a Scrollable2: - The ScrollPhysics is now responsible for creating the ScrollPosition. You can override the ScrollPhysics by supplying a `physics` argument to `Scrollable`, and the new physics you supply will be applied to the default physics inherited from the ScrollBehavior. - This patch removes the ScrollPosition/AbsoluteScrollPosition split as all clients were operating in pixels anyway and the split made the code very difficult to follow. - ScrollPosition no longer depends directly on Scrollable2State. Instead, it depends on an abstract interface that Scrollable2State implements. This change has two benefits: a) It removes the circular dependency between ScrollPosition and Scrollable2State, which lets us split the code for these classes (and several other classes that got wrapped up in that cycle) into separate libraries for easier maintenance. b) ScrollPosition is no longer bound to Scrollable2, which means you could use the behavior machinery to drive other sorts of widgets. For example, we could use it to drive Scrollabe1 if we wanted.
-
- 21 Jan, 2017 2 commits
-
-
Ian Hickson authored
Removes some TODOs now that https://github.com/flutter/flutter/issues/3648 is fixed.
-
Ian Hickson authored
-
- 11 Jan, 2017 1 commit
-
-
Hans Muller authored
-
- 09 Nov, 2016 1 commit
-
-
Chinmay Garde authored
-
- 23 Oct, 2016 1 commit
-
-
Wyatt Arent authored
-
- 05 Oct, 2016 1 commit
-
-
Adam Barth authored
Fixes #6215
-
- 29 Sep, 2016 1 commit
-
-
Hans Muller authored
-
- 14 Sep, 2016 1 commit
-
-
Hans Muller authored
* Added OverscrollIndicatorEdge et al * RefreshIndicator only clamps its scrollable edge * added a test * Updated the test * fixed lint-os * fixed a typo * Scrollable should restore its viewport dimensions when it reappears * removed an accidental commit * updated per review feedback
-
- 29 Aug, 2016 1 commit
-
-
Hans Muller authored
-
- 18 Aug, 2016 1 commit
-
-
Adam Barth authored
Currently, we just treat Fuchsia as TargetPlatform.android, but we might want to do something more sophisticated in the future.
-
- 11 Aug, 2016 1 commit
-
-
Ian Hickson authored
Changes in this patch: - iOS now uses a different scrollDrag constant than Android. - ScrollConfigurationDelegate now knows about target platforms. - ScrollBehaviors now know about target platforms. - RawInputLine now has to be told what platform it's targetting. - PageableList now has a concept of target platform. - make debugPrintStack filter its stack. - move debugPrintStack to `assertions.dart`. - add support for limiting the number of frames to debugPrintStack. - make defaultTargetPlatform default to android in test environments. - remove OverscrollStyle and MaterialApp's overscrollStyle argument. You can now control the overscroll style using Theme.platform. - the default scroll configuration is now private to avoid people relying on the defaultTargetPlatform getter in their subclasses (since they really should use Theme.of(context).platform). - fix some typos I noticed in some tests. - added a test for flinging scrollables, that checks that the behavior differs on the two target platforms. - made flingFrom and fling in the test API pump the frames. - added more docs to the test API. - made the TestAsyncUtils.guard() method report uncaught errors to help debug errors when using that API.
-
- 25 Jul, 2016 1 commit
-
-
Adam Barth authored
We'll use this field to adapt material widgets to iOS.
-
- 21 Jul, 2016 1 commit
-
-
Hans Muller authored
-