1. 08 Apr, 2017 1 commit
  2. 04 Mar, 2017 1 commit
  3. 23 Feb, 2017 1 commit
  4. 13 Jan, 2017 1 commit
    • Adam Barth's avatar
      Refactor IconThemeData.fallback (#7490) · 4955eef8
      Adam Barth authored
      Now IconThemeData.fallback is a factory constructor and IconThemeData.of() does
      the work of computing the fallback for its clients.
      
      Also, add tests for ImageIcon and ListItems.
      4955eef8
  5. 09 Dec, 2016 1 commit
  6. 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
  7. 20 Jun, 2016 1 commit
  8. 22 Apr, 2016 1 commit
  9. 12 Apr, 2016 1 commit
  10. 14 Mar, 2016 1 commit
  11. 02 Mar, 2016 1 commit
    • 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
  12. 11 Feb, 2016 1 commit
    • 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
  13. 03 Feb, 2016 1 commit
  14. 18 Jan, 2016 1 commit
    • Ian Hickson's avatar
      Reimplement the theme transition animation by actually animating the Theme. · 73c9ebab
      Ian Hickson authored
      As part of this:
       - A lot of classes got new lerp functions, including e.g. TextStyle.
       - Theme's constructor story got overhauled. You can now configure
         everything if you really want to, and we're better about defaults.
       - Material no longer automatically animates its background color.
         (It still does for its shadow.)
       - Tabs try to get the indicator color from the theme.
       - The fields in ThemeData got reordered for sanity.
       - Theme.== and Theme.hashCode got fixed.
       - Typography got a bit of a spring cleaning.
      
      Fixes #613.
      73c9ebab
  15. 21 Oct, 2015 1 commit
  16. 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