1. 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
  2. 18 Aug, 2017 1 commit
  3. 17 Aug, 2017 1 commit
  4. 15 Aug, 2017 1 commit
  5. 14 Aug, 2017 1 commit
  6. 12 Aug, 2017 1 commit
    • ameiyil's avatar
      Wrap the label widget of the Chip in a Flexible. (#11523) (#11554) · b156a0f0
      ameiyil authored
      * Wrap the label widget of the Chip in a Flexible. (#11523)
      
      * This allows the Chip to constrain the size of its content after taking into account the space occupied by the avatar and delete icon (if they are present)
      
      * Adding unit tests to evaluate correct size constraints of the Chip widget's label. (#11523)
      
      * Minor change in formatting.
      
      * Adjust function formatting.
      b156a0f0
  7. 08 Aug, 2017 3 commits
  8. 07 Aug, 2017 1 commit
  9. 05 Aug, 2017 1 commit
    • paolosoares's avatar
      Adds more customization options to the Chip widget (#11498) · 4da5e9b2
      paolosoares authored
      * Adds more customization options to the Chip widget
      
      Includes:
      - Custom Tooltip message for the delete button;
      - Custom background color for the chip
      - Custom delete icon color
      - Custom label text style
      
      * Adds missing type annotations to tests and improves documentation.
      
      * Tweaks labelStyle field documentation
      4da5e9b2
  10. 03 Aug, 2017 1 commit
  11. 01 Aug, 2017 1 commit
    • perlatus's avatar
      PopupMenuButton: create IconButton if child is Icon (#10230) · d1b222be
      perlatus authored
      * PopupMenuButton: create IconButton if child is Icon
      
      Otherwise the resulting button has an abnormally small and rectangular
      area. With multiple PopupMenuButton(child: Icon) they get squished
      together in the AppBar.
      
      * Add separate icon argument to PopupMenuButton
      
      * Fix style issues and tweak dartdocs
      
      * Add tests for icon argument to PopupMenuButton
      
      * Group icon tests and fix broken test, analyzer warnings
      
      * Test that the correct custom icon is present
      
      * Apply De Morgan's to work around dart analyzer bug
      
      see: https://github.com/dart-lang/sdk/issues/30288
      d1b222be
  12. 31 Jul, 2017 1 commit
  13. 28 Jul, 2017 1 commit
  14. 25 Jul, 2017 1 commit
  15. 22 Jul, 2017 1 commit
  16. 21 Jul, 2017 3 commits
    • Ian Hickson's avatar
      Add documentation and clean up code. (#11330) · 8f56f6fd
      Ian Hickson authored
      Mainly, this adds documentation to members that were previously
      lacking documentation.
      
      It also adds a big block of documentation about improving performance
      of widgets.
      
      This also removes some references to package:collection and adds
      global setEquals and listEquals methods in foundation that we can use.
      (setEquals in particular should be much faster than the
      package:collection equivalent, though both should be faster as they
      avoid allocating new objects.) All remaining references now qualify
      the import so we know what our remaining dependencies are.
      
      Also lots of code reordering in Flutter driver to make the code
      consistent and apply the style guide more thoroughly.
      8f56f6fd
    • 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
    • xster's avatar
      iOS text selection (#11224) · aa096b50
      xster authored
      Extract common text selection overlay logic from Material to Widget and create a Cupertino version of the overlays
      aa096b50
  17. 20 Jul, 2017 1 commit
    • Mary's avatar
      Add slider customizations (#11185) · bb15e346
      Mary authored
      * adds inactiveColor and showThumb to Slider
      
      * add customizable color and showThumb tests
      
      * remove showThumb, add negative tests
      bb15e346
  18. 18 Jul, 2017 1 commit
  19. 17 Jul, 2017 1 commit
  20. 14 Jul, 2017 1 commit
  21. 06 Jul, 2017 1 commit
  22. 05 Jul, 2017 1 commit
  23. 01 Jul, 2017 1 commit
    • Ian Hickson's avatar
      Automatic silver keep alive (#11067) · 7ba1879b
      Ian Hickson authored
      * AutomaticKeepAlive
      
      A Widget that listens for notifications from widgets that don't want to die.
      
      * Automatically wrap SliverList and SliverGrid children in AutomaticKeepAlive widgets
      
      * Fixes for review comments
      7ba1879b
  24. 30 Jun, 2017 2 commits
  25. 23 Jun, 2017 2 commits
    • Michael Goderbauer's avatar
      Provide haptic/acoustic feedback for tap & long-press on Android (#10920) · fe40eed3
      Michael Goderbauer authored
      * Provide haptic/acoustic feedback for tap & long-press on Android
      
      * review comments
      
      * fixed example code
      
      * review comments
      
      * comment fix
      fe40eed3
    • 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
  26. 21 Jun, 2017 3 commits
  27. 20 Jun, 2017 4 commits
  28. 16 Jun, 2017 1 commit
  29. 15 Jun, 2017 1 commit
    • xster's avatar
      Create a CupertinoPageRoute (#10686) · 36c3a962
      xster authored
      * started copying stuff into cupertino page route
      
      * extracted from material page route. Ready for testing
      
      * works with button and gesture
      
      * tests and docs
      
      * review notes
      
      * review notes
      36c3a962