1. 21 Jun, 2016 1 commit
    • Ian Hickson's avatar
      ImageIcon (#4649) · e502e9c8
      Ian Hickson authored
      Anywhere that accepted IconData now accepts either an Icon or an
      ImageIcon.
      
      Places that used to take an IconData in an `icon` argument, notably
      IconButton and DrawerItem, now take a Widget in that slot. You can wrap
      the value that used to be passed in in an Icon constructor to get the
      same result.
      
      Icon itself now takes the icon as a positional argument, for brevity.
      
      ThemeData now has an iconTheme as well as a primaryIconTheme, the same
      way it has had a textTheme and primaryTextTheme for a while.
      
      IconTheme.of() always returns a value now (though that value itself may
      have nulls in it). It defaults to the ThemeData.iconTheme.
      
      IconThemeData.fallback() is a new method that returns an icon theme data
      structure with all fields filled in.
      
      IconTheme.merge() is a new constructor that takes a context and creates
      a widget that mixes in the new values with the inherited values.
      
      Most places that introduced an IconTheme widget now use IconTheme.merge.
      
      IconThemeData.merge and IconThemeData.copyWith act in a way analogous to
      the similarly-named members of TextStyle.
      
      ImageIcon is introduced. It acts like Icon but takes an ImageProvider
      instead of an IconData.
      
      Also: Fix the analyzer to actually check the stocks app.
      e502e9c8
  2. 07 Jun, 2016 1 commit
  3. 04 May, 2016 3 commits
  4. 21 Apr, 2016 2 commits
  5. 05 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Introduce a color for selected rows in data tables · b9f04817
      Ian Hickson authored
      - Rename unselectedColor to unselectedWidgetColor.
      
      - Rename selectionColor to textSelectionColor.
      
      - Add selectedRowColor.
      
      - Remove hintOpacity since it's not tested and has no demo clients.
      
      - Add some docs.
      b9f04817
  6. 01 Apr, 2016 1 commit
  7. 31 Mar, 2016 1 commit
  8. 25 Mar, 2016 1 commit
  9. 14 Mar, 2016 1 commit
  10. 13 Mar, 2016 1 commit
    • Adam Barth's avatar
      [rename fixit] Flex alignments · d5b2e2a0
      Adam Barth authored
      * justifyContent -> mainAxisAlignment
      * alignItems -> crossAxisAlignment
      * FlexJustifyContent -> MainAxisAlignment
      * FlexAlignItems -> CrossAxisAlignment
      
      Fixes #231
      d5b2e2a0
  11. 12 Mar, 2016 3 commits
  12. 02 Mar, 2016 1 commit
    • Adam Barth's avatar
      Switch Material Design icons to using the iconfont · 870894fc
      Adam Barth authored
      Rather than managing all the Material Design icons manually, we now
      manage them using an icon font. The icon font contains glyphs for each
      icon in an efficient vector format.
      
      This patch updates the FLX tooling to include the MaterialIcons font and
      updates the Icon widget to use the font instead of asset images.
      
      Fixes #2313
      Fixes #2218
      Fixes #2009
      Fixes #994
      870894fc
  13. 22 Feb, 2016 1 commit
    • Adam Barth's avatar
      Remove ThemeData.primarySwatch · 2c2fa238
      Adam Barth authored
      In the dark theme, there isn't really a primary swatch, so this API was
      a sandtrap. Instead, be explicit about the colors we need for various
      widgets in the theme.
      
      Fixes #1277
      2c2fa238
  14. 13 Feb, 2016 1 commit
  15. 11 Feb, 2016 2 commits
    • Jason Simmons's avatar
    • Ian Hickson's avatar
      Clean up imports and exports. · a94999ba
      Ian Hickson authored
      Each layer is supposed to reexport the parts of the previous layer
      that are part of its API.
      
      - In painting.dart, export from dart:ui all the Canvas-related APIs
        that make sense to be used at higher levels, e.g. PaintingStyle.
      
      - Delete painting/shadows.dart. It was dead code.
      
      - In rendering/object.dart, export all of painting.dart.
      
      - In widgets/basic.dart, export all of painting.dart and
        animation.dart. Some classes in animation/ are renamed to make this
        less disruptive and confusing to the namespace.
      
      - Split out Stocks back into an import model rather than a part model,
        so that it's easier to manage its dependencies on a per-file basis.
      
      - Move Ticker to scheduler library.
      
      - Remove as many redundant imports as possible now.
      
      - Some minor nit picking cleanup in various files.
      a94999ba
  16. 02 Feb, 2016 1 commit
  17. 31 Jan, 2016 1 commit
    • Adam Barth's avatar
      Adds the ability to move the caret by tapping · 36099383
      Adam Barth authored
      Now the text input control knows how to move the caret when you tap
      inside the string. There's still some rough edges to polish up, but this
      patch is the first step.
      
      Fixes #108
      36099383
  18. 30 Jan, 2016 1 commit
  19. 26 Jan, 2016 2 commits
    • Adam Barth's avatar
      Input asserts while keyboard is dismissed · 2ba96877
      Adam Barth authored
      Now we recreate the stub every time we try to connect to the keyboard. The
      underlying message pipe in the stub cannot be re-used, which is why we
      previously asserted.
      
      Fixes #776
      2ba96877
    • Adam Barth's avatar
      Hide EditableString implementation details · f0ea0eaf
      Adam Barth authored
      Previously, EditableString had many public members because it needed to
      implement the KeyboardClient interface. However, that's confusing
      because these methods cannot be called directly.
      
      Now EditableString holds a private implementation of the KeyboardClient,
      which hides the implementation details.
      
      Fixes #208
      Fixes #209
      f0ea0eaf
  20. 25 Jan, 2016 1 commit
  21. 24 Jan, 2016 1 commit
  22. 23 Jan, 2016 3 commits
  23. 22 Jan, 2016 2 commits
  24. 21 Jan, 2016 2 commits
  25. 16 Jan, 2016 1 commit
  26. 11 Jan, 2016 2 commits
  27. 28 Dec, 2015 1 commit
    • Ian Hickson's avatar
      Various Input and Focus fixes · b1dae4c4
      Ian Hickson authored
      Require a Key on Input.
      
      Simplify the API for Focus.at() and Focus.moveTo().
      Fixes #236.
      This will require an e-mail to flutter-dev.
      
      Make Input grab focus onTap not onPointerDown.
      Fixes #189.
      
      Complain when you use Focus.at() with two different GlobalKeys that
      are both in the tree at the same time.
      Fixes #181.
      
      Add dartdocs for Focus.moveTo() and Focus.moveScopeTo().
      b1dae4c4
  28. 08 Dec, 2015 1 commit