1. 12 Sep, 2018 1 commit
  2. 20 Mar, 2018 1 commit
  3. 03 Aug, 2017 1 commit
  4. 25 Jul, 2017 1 commit
  5. 21 May, 2017 1 commit
  6. 20 May, 2017 1 commit
    • xster's avatar
      Theme inserts IconTheme into tree (#10179) · 95e9e7e9
      xster authored
      * Let Theme insert an IconTheme into the widget tree
      
      * flip the order, no real reason
      
      * Let icon theme use its own fallback
      
      * review notes
      
      * more review notes
      95e9e7e9
  7. 19 May, 2017 1 commit
  8. 23 Apr, 2017 1 commit
  9. 13 Apr, 2017 1 commit
  10. 08 Apr, 2017 1 commit
  11. 04 Mar, 2017 1 commit
  12. 23 Feb, 2017 1 commit
  13. 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
  14. 19 Nov, 2016 1 commit
  15. 24 Oct, 2016 1 commit
  16. 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
  17. 20 Jun, 2016 1 commit
  18. 03 Jun, 2016 1 commit
  19. 12 Apr, 2016 1 commit
  20. 14 Mar, 2016 1 commit
  21. 07 Jan, 2016 1 commit
  22. 11 Dec, 2015 1 commit
    • Adam Barth's avatar
      Add dartdoc for image classes · 40dda1ed
      Adam Barth authored
       - Adds dartdoc for all the `of` functions.
       - Renames Image to RawImage. This widget is rarely used and shouldn't take up
         such a nice global name.
      
      Fixes #361
      40dda1ed
  23. 18 Nov, 2015 1 commit
    • Hixie's avatar
      Pave the Foo.of() cowpath. · 65d81451
      Hixie authored
      I'm planning on adding more .of() functions and so to avoid further
      copypasta I'm providing some general utility functions here.
      65d81451
  24. 27 Oct, 2015 1 commit
    • Ian Hickson's avatar
      Track scroll position · 8a900f90
      Ian Hickson authored
      - Change RouteArguments to pass the route's BuildContext rather than
        the Navigator. This caused the bulk of the examples/ and .../test/
        changes (those are mostly mechanical changes). It also meant I could
        simplify Navigator.of().
      
      - Make initState() actually get called when the State's Element is in
        the tree, so you can use Foo.of() functions there. Added a test for
        this also.
      
      - Provide a RouteWidget so that routes have a position in the Widget
        tree. The bulk of the route logic is still in a longer-lived Route
        object for now.
      
      - Make Route.setState() only rebuild the actual route, not the whole
        navigator.
      
      - Provided a Route.of().
      
      - Provided a Route.writeState / Route.readState API that tries to
        identify the clients by their runtimeType, their key, and their
        ancestors keys, up to the nearest ancestor with a GlobalKey.
      
      - Made scrollables hook into this API to track state. Added a test to
        make sure this works.
      
      - Fix the debug output of GestureDetector and the hashCode of
        MixedViewport.
      
      - Fixed ScrollableWidgetListState<T> to handle infinite lists.
      8a900f90
  25. 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