1. 11 Oct, 2017 1 commit
  2. 28 Sep, 2017 1 commit
  3. 21 Sep, 2017 2 commits
    • Alexandre Ardhuin's avatar
      use bool in assert (#12170) · 2958d7d0
      Alexandre Ardhuin authored
      2958d7d0
    • xster's avatar
      Create a CupertinoTab to support parallel navigation trees in iOS (#12130) · f9e8da6d
      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
      f9e8da6d
  4. 15 Sep, 2017 2 commits
  5. 12 Sep, 2017 1 commit
  6. 08 Sep, 2017 1 commit
    • Hans Muller's avatar
      Make an app's supported locales configurable (#11946) · 4262c1e9
      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
      4262c1e9
  7. 31 Aug, 2017 1 commit
  8. 28 Aug, 2017 1 commit
    • Ian Hickson's avatar
      RTL: Padding, Flex (#11709) · f235a2c1
      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.
      f235a2c1
  9. 24 Aug, 2017 1 commit
  10. 21 Aug, 2017 1 commit
    • Jacob Richman's avatar
      Bare bones widget inspector support. (#10332) · 5462ddb9
      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.
      5462ddb9
  11. 21 Jul, 2017 1 commit
    • gspencergoog's avatar
      Fix Navigator.pop for named routes. (#11289) · e4860ef0
      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.
      e4860ef0
  12. 23 Jun, 2017 1 commit
    • Ian Hickson's avatar
      Deep linking: automatically push the route hiearchy on load. (#10894) · 9adb4a78
      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.
      9adb4a78
  13. 08 Jun, 2017 1 commit
    • perlatus's avatar
      Check for initialRoute before Navigator.defaultRouteName (#10216) · 0cef0aaf
      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
      0cef0aaf
  14. 03 Jun, 2017 1 commit
  15. 27 May, 2017 1 commit
  16. 12 May, 2017 1 commit
  17. 11 Apr, 2017 1 commit
    • xster's avatar
      Rename State.config to widget everywhere (#9273) · 89a7fdfc
      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
      89a7fdfc
  18. 04 Apr, 2017 1 commit
  19. 21 Mar, 2017 1 commit
  20. 04 Mar, 2017 1 commit
  21. 17 Feb, 2017 2 commits
    • Adam Barth's avatar
      Two becomes one (#8253) · e0b12ca1
      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.
      e0b12ca1
    • Adam Barth's avatar
      Remove Scrollable1 (#8225) · 90574b04
      Adam Barth authored
      All the clients have migrated to Scrollable2.
      90574b04
  22. 14 Feb, 2017 1 commit
  23. 04 Feb, 2017 1 commit
  24. 03 Feb, 2017 1 commit
    • Adam Barth's avatar
      Reparameterize Scrollable2 (#7853) · 072cce88
      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.
      072cce88
  25. 21 Jan, 2017 2 commits
  26. 11 Jan, 2017 1 commit
  27. 09 Nov, 2016 1 commit
  28. 23 Oct, 2016 1 commit
  29. 05 Oct, 2016 1 commit
  30. 29 Sep, 2016 1 commit
  31. 14 Sep, 2016 1 commit
    • Hans Muller's avatar
      Refresh indicator overscroll (#5836) · f4904b14
      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
      f4904b14
  32. 29 Aug, 2016 1 commit
  33. 18 Aug, 2016 1 commit
  34. 11 Aug, 2016 1 commit
    • Ian Hickson's avatar
      Improve our scroll physics on iOS (#5340) · 17cdc889
      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.
      17cdc889
  35. 25 Jul, 2016 1 commit
  36. 21 Jul, 2016 1 commit