1. 03 May, 2018 1 commit
  2. 22 Mar, 2018 1 commit
    • Ian Hickson's avatar
      Clean up the existing Navigator API. (#15718) · aba0379d
      Ian Hickson authored
      This is not a grand refactor yet, it's just cleaning up what we have
      already, so that people who keep using this API (e.g. dialogs) have
      something coherent to deal with.
      
      The major changes are that Navigator and NavigatorState have the same
      API now, that most of the examples use `<void>` instead of `<Null>`,
      that the navigator observer can see replaces, and that the `settings`
      is moved from ModalRoute to Route. I also cleaned up some of the API
      documentation.
      aba0379d
  3. 08 Mar, 2018 1 commit
  4. 02 Feb, 2018 1 commit
  5. 04 Jan, 2018 1 commit
  6. 15 Dec, 2017 1 commit
  7. 09 Nov, 2017 1 commit
  8. 03 Nov, 2017 1 commit
  9. 11 Oct, 2017 1 commit
  10. 28 Sep, 2017 1 commit
  11. 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
  12. 15 Sep, 2017 2 commits
  13. 12 Sep, 2017 1 commit
  14. 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
  15. 31 Aug, 2017 1 commit
  16. 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
  17. 24 Aug, 2017 1 commit
  18. 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
  19. 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
  20. 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
  21. 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
  22. 03 Jun, 2017 1 commit
  23. 27 May, 2017 1 commit
  24. 12 May, 2017 1 commit
  25. 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
  26. 04 Apr, 2017 1 commit
  27. 21 Mar, 2017 1 commit
  28. 04 Mar, 2017 1 commit
  29. 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
  30. 14 Feb, 2017 1 commit
  31. 04 Feb, 2017 1 commit
  32. 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
  33. 21 Jan, 2017 2 commits
  34. 11 Jan, 2017 1 commit
  35. 09 Nov, 2016 1 commit
  36. 23 Oct, 2016 1 commit