1. 13 Apr, 2017 1 commit
  2. 21 Mar, 2017 1 commit
  3. 13 Mar, 2017 1 commit
  4. 08 Mar, 2017 1 commit
  5. 22 Feb, 2017 1 commit
    • xster's avatar
      Conform appbar buttons to Material (#8263) · 72fa281f
      xster authored
      Extend app bar left to edge, right to 4dp
      Make leading button square and 56dp
      Keep title at 72dp on Android according to Material
      Renamed IconButton.size to .iconSize
      IconButton minimum size expands to 48dp (#8264)
      IconButton default constraints to 48. Can still stretch to infinity but can't be smaller than 48.
      Ink splash for IconButton 40% bigger than the touch target to match Material
      Tests
      72fa281f
  6. 23 Jan, 2017 1 commit
  7. 20 Jan, 2017 1 commit
  8. 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
  9. 19 Nov, 2016 1 commit
  10. 20 Oct, 2016 1 commit
  11. 06 Oct, 2016 1 commit
  12. 20 Sep, 2016 1 commit
  13. 18 Aug, 2016 1 commit
  14. 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
  15. 12 Jun, 2016 1 commit
  16. 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
  17. 25 May, 2016 1 commit
  18. 20 Apr, 2016 1 commit
  19. 12 Apr, 2016 1 commit
  20. 02 Apr, 2016 1 commit
  21. 14 Mar, 2016 1 commit
  22. 12 Mar, 2016 2 commits
  23. 06 Mar, 2016 1 commit
  24. 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
  25. 27 Feb, 2016 1 commit
  26. 19 Feb, 2016 1 commit
  27. 14 Feb, 2016 1 commit
  28. 27 Jan, 2016 1 commit
  29. 22 Jan, 2016 1 commit
  30. 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
  31. 01 Dec, 2015 2 commits
  32. 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
  33. 01 Nov, 2015 1 commit
  34. 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
  35. 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
  36. 19 Oct, 2015 2 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