1. 23 Jan, 2017 1 commit
  2. 20 Jan, 2017 1 commit
  3. 19 Jan, 2017 1 commit
    • Adam Barth's avatar
      InkSplash and InkHighlight shouldn't be special (#7531) · 9f36737f
      Adam Barth authored
      Previously, these classes where in material.dart, which meant they could
      access private interfaces in that library. This patch moves them out
      into their own files so that they need to play by the rules of the
      public API.
      
      Fixes #5969
      9f36737f
  4. 19 Nov, 2016 1 commit
  5. 20 Oct, 2016 1 commit
  6. 06 Oct, 2016 1 commit
  7. 20 Sep, 2016 1 commit
  8. 18 Aug, 2016 1 commit
  9. 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
  10. 12 Jun, 2016 1 commit
  11. 07 Jun, 2016 1 commit
    • Ian Hickson's avatar
      Provide UI to paginate PaginatedDataTable (#4382) · 68f92d4f
      Ian Hickson authored
      Also:
      * Make PaginatedDataTable able to scroll itself horizontally.
      * Make drop down buttons support having an explicit text style and icon
        size given.
      * Fix a bug with drop-down buttons asserting when opened partly
        off-screen.
      * Make sure to pop the drop-down button's route if the drop-down button
        is discarded while the route is up.
      * Remove extraneous padding on drop-down buttons. (Couldn't figure out
        why it was there, and it breaks alignment when a drop-down is mixed
        with other text.)
      * Some docs improvements.
      * Add Route.isActive
      * Add a setState() method to ModalRoutes.
      68f92d4f
  12. 25 May, 2016 1 commit
  13. 20 Apr, 2016 1 commit
  14. 12 Apr, 2016 1 commit
  15. 02 Apr, 2016 1 commit
  16. 14 Mar, 2016 1 commit
  17. 12 Mar, 2016 2 commits
  18. 06 Mar, 2016 1 commit
  19. 02 Mar, 2016 2 commits
    • Adam Barth's avatar
      Remove IconThemeColor · bfc39aa8
      Adam Barth authored
      This enum doesn't make sense anymore now that we can arbitrarily colorize
      icons.  Instead, we just use a Color, which is both simpler and can be
      interpolated during animations.
      
      Fixes #1279
      bfc39aa8
    • 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
  20. 27 Feb, 2016 1 commit
  21. 19 Feb, 2016 1 commit
  22. 14 Feb, 2016 1 commit
  23. 27 Jan, 2016 1 commit
  24. 22 Jan, 2016 1 commit
  25. 14 Jan, 2016 1 commit
    • Hixie's avatar
      Tooltips · 24cab899
      Hixie authored
      Introduces a new Tooltip class.
      Adds support for tooltips to IconButton and Scaffold.
      Adds some tooltips to various demos.
      
      Also some tweaks to stack.dart that I made before I decided not to go
      down a "CustomPositioned" route.
      24cab899
  26. 01 Dec, 2015 2 commits
  27. 05 Nov, 2015 1 commit
    • Adam Barth's avatar
      Improve hit testing · 9bc64540
      Adam Barth authored
      Now a RenderBox is considered hit if one of its children are hit or it itself
      decides that it's hit. In particular, empty space inside a flex won't be hit
      because none of the children are located there and a RenderFlex doesn't
      consider itself hittable.
      
      Fixes #53
      Fixes #1221
      9bc64540
  28. 01 Nov, 2015 1 commit
  29. 28 Oct, 2015 1 commit
    • Adam Barth's avatar
      Icon should use an enum rather than an int for size · eeea4ab7
      Adam Barth authored
      Material design icons are defined to work at specific sizes: 18, 24, 36, 48.
      The current API doesn't reflect that and just takes a size int. If an invalid
      size is chosen an error is printed to the console and no icon shows up.
      
      Fixes #1816
      eeea4ab7
  30. 27 Oct, 2015 1 commit
    • Adam Barth's avatar
      Use VoidCallback for onPressed and friends · d6dc9d47
      Adam Barth authored
      Previous these callbacks were leaking the implementation detail that they were
      triggered by taps. In a later patch, we're going to add a parameter to
      GestureTapCallback that these callbacks won't have.
      
      Related to #1807
      d6dc9d47
  31. 19 Oct, 2015 3 commits
    • Hixie's avatar
      requestPostFrameCallback() · ed195cfa
      Hixie authored
      Provide a way to schedule a callback for immediately after the current
      frame has been sent to the GPU thread. This is useful for times where
      you want to immediately schedule yourself for another build or layout
      because, for instance, you just displayed frame zero of an animation and
      you want to use the metrics from that layout to set up the actual
      animation to begin immediately, such that the very next frame is frame 1.
      ed195cfa
    • Adam Barth's avatar
      Show ColorFilter · 40942233
      Adam Barth authored
      Instead of requiring clients to use ui.ColorFilter, we show show the
      ColorFilter class, similar to what we do for Color.
      40942233
    • 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
  32. 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
  33. 16 Oct, 2015 1 commit
  34. 10 Oct, 2015 2 commits