1. 10 Dec, 2015 1 commit
  2. 04 Dec, 2015 1 commit
    • Adam Barth's avatar
      Improve material ink response · 0608a02a
      Adam Barth authored
      This patch contains a number of improvements to the material ink response:
      
      - The ink response now remains until you lift your finger
      - When disappearing, the ink response now fades out
      - The ink response is now the correct color (at least in the light theme)
      - The ink response for IconButton now has a (circular) highlight
      - The ink response for IconButton now repositions itself to be centered on the highlight
      
      In addition, I've adjusted the various animation parameters to better match the
      behavior of ink responses in the Java implementation of material.
      
      Fixes #695
      0608a02a
  3. 01 Dec, 2015 1 commit
  4. 26 Nov, 2015 1 commit
  5. 19 Oct, 2015 1 commit
    • Adam Barth's avatar
      Add a MaterialList · 284eaa9c
      Adam Barth authored
      A MaterialList understands the sizing, padding, and scrollbar features of
      Material Design lists.
      
      Also, add CircleAvatar for showing the circular avatars that are commonly used
      in material lists.
      284eaa9c
  6. 18 Oct, 2015 1 commit
    • Hixie's avatar
      toString()ify more stuff · 7c0c1c96
      Hixie authored
      - truncate pixel values to 1dp since there's really no point being told
        the Size is 302.98732587287 by 648.28498579187.
      
      - describe more Widgets so that debugDumpApp() is more useful.
      
      - remove bufferValue from ProgressIndicator (cc @hansmuller) since it's
        not yet implemented.
      
      - half-hearted toString() for ThemeData. There's no point making a
        complete one, since it would cause line-wrap even on big monitors in
        debugDumpApp dumps, and you can easily get the actual values from a
        debugging if that's the issue.
      
      - flesh out BoxConstraints.toString() so that fully unconstrained and
        fully infinite constraints are called out explicitly. I experimented
        with adding even more special cases, e.g. calling out unconstrained
        widths with fixed heights, etc, but it made the output less readable.
      
      - remove a redundant _updateVariable() in AnimatedContainer (cc
        @abarth).
      
      - add more information to RenderView.toString().
      7c0c1c96
  7. 16 Oct, 2015 1 commit
  8. 10 Oct, 2015 2 commits
  9. 08 Oct, 2015 1 commit
  10. 07 Oct, 2015 1 commit
    • Hixie's avatar
      HomogeneousViewport support for Theme.of() · d45bf145
      Hixie authored
      Previously, RenderObjectElements didn't support being marked dirty. This
      is fine, except for MixedViewport and HomogeneousViewport, which have
      builder functions to which they hand themselves as a BuildContext. If
      those builder functions call, e.g., Theme.of(), then when the theme
      changes, the Inherited logic tries to tell the RenderObjectElement
      object that its dependencies changed and that doesn't go down well.
      
      This patch fixes this by making RenderObjectElement a BuildableElement,
      and making MixedViewport and HomogeneousViewport hook into that to
      rebuild themselves appropriately.
      
      Also, this was only found at all because ThemeData didn't implement
      operator==, so we were aggressively marking the entire tree dirty all
      the time. That's fixed here too.
      
      Also, I changed card_collection.dart to have more features to make this
      easier to test. This found bugs #1524, #1522, #1528, #1529, #1530, #1531.
      d45bf145
  11. 18 Sep, 2015 1 commit
    • Adam Barth's avatar
      Move theme into material.dart · 4467a268
      Adam Barth authored
      Also, introduce Colors and Typography to hold the material colors and the
      typography declarations. Previously we expected clients of these libraries to
      import them into a namespace, but that doesn't play nice with re-exporting them
      from material.dart.
      4467a268
  12. 19 Aug, 2015 1 commit
  13. 11 Aug, 2015 1 commit
  14. 28 Jul, 2015 2 commits
  15. 21 Jul, 2015 1 commit
  16. 16 Jul, 2015 1 commit