1. 26 Mar, 2020 1 commit
  2. 25 Jan, 2020 1 commit
  3. 08 Jan, 2020 1 commit
  4. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  5. 01 Feb, 2019 1 commit
  6. 29 Jan, 2019 1 commit
  7. 27 Nov, 2018 1 commit
  8. 08 Nov, 2018 1 commit
  9. 12 Sep, 2018 1 commit
  10. 07 Sep, 2018 1 commit
  11. 19 Apr, 2018 2 commits
    • Greg Spencer's avatar
      Updating the Chip demo in the Gallery to include all the new types of chips. (#16522) · b83eb465
      Greg Spencer authored
      This chip demo is more interactive than the last one, trying to exercise all of the types of chips for a demo that lets you select different types of "chips" (like tortilla, wood, micro, etc.), and then filter them and select an action on them.
      b83eb465
    • Greg Spencer's avatar
      Change CircleAvatar to use BoxFit.cover for images (#16649) · 0b389fc9
      Greg Spencer authored
      This is a PR giving some love to the abandoned PR #16263 by @harrisonturton
      
      I've added a test, and formatted it to be readable.
      
      Currently the CircleAvatar does not set a fit property on the DecorationImage it uses to paint images. This causes non-square images to not fully cover the circle, which looks pretty bad. This PR sets it to BoxFix.cover.
      
      Fixes #13478.
      0b389fc9
  12. 22 Mar, 2018 1 commit
    • Greg Spencer's avatar
      Creating chips custom renderer, updating visual look. (#15596) · 4141946c
      Greg Spencer authored
      This updates the visual look of the Chip class, so that it scales properly in the face of text scale (and label widget size) changes, and bases its height off of the label widget's height, constraining the other widgets it contains to be the same height.
      
      To do this properly, I had to implement a custom render object that will measure the height of the label, so the guts of this class are basically rewritten.
      
      In addition, to allow the circle avatar to increase in size when the chip does, I added minRadius and maxRadius arguments to it, and I updated its color handling to use the light/dark primary colors of the theme in a smart way instead of just using black and white.
      
      Updated and added tests.
      4141946c
  13. 07 Dec, 2017 1 commit
    • Ian Hickson's avatar
      Move image logic from services/ to painting/. (#13409) · 44e228eb
      Ian Hickson authored
      This allows the scheduler library to depend on the services library
      and the painting library to depend on the scheduler library without
      the services library having to depend on the scheduler library.
      
      While I was at it I also cleaned up some of the binding logic: the
      licenses logic can now be overridden (and the test library does so),
      and the image cache can now be overridden as well.
      44e228eb
  14. 19 Oct, 2017 1 commit
  15. 12 Oct, 2017 1 commit
  16. 29 Sep, 2017 1 commit
  17. 12 Jun, 2017 1 commit
  18. 24 May, 2017 1 commit
  19. 27 Apr, 2017 1 commit
  20. 21 Apr, 2017 1 commit
  21. 22 Mar, 2017 1 commit
  22. 21 Mar, 2017 1 commit
  23. 14 Mar, 2017 1 commit
  24. 08 Nov, 2016 1 commit
  25. 23 Oct, 2016 1 commit
  26. 20 Jul, 2016 1 commit
    • Dragos Tiselice's avatar
      Added backgroundImage to CircleAvatar. · 83f37246
      Dragos Tiselice authored
      In order to have an efficient way to display clipped avatars,
      backgroundImage was added inside of the container's BoxDecoration.
      Fixes #4964. This commit also fixes #4567 where the radius property
      actually sets the diamater.
      83f37246
  27. 16 May, 2016 2 commits
  28. 08 Apr, 2016 1 commit
  29. 01 Apr, 2016 1 commit
  30. 31 Mar, 2016 1 commit
  31. 18 Mar, 2016 2 commits
  32. 14 Mar, 2016 1 commit
  33. 12 Mar, 2016 1 commit
  34. 23 Feb, 2016 1 commit
  35. 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
  36. 08 Dec, 2015 1 commit
    • Ian Hickson's avatar
      Make BoxDecoration replaceable. · 2afa87df
      Ian Hickson authored
      Factor out a reusable interface called Decoration from BoxDecoration.
      
      Make all the consumers of BoxDecoration and the erstwhile BoxPainter
      into consumers of Decoration.
      
      Make a BoxPainter be something you get from a Decoration, rather than
      something to which you pass a BoxDecoration.
      
      Rename Shape to BoxShape now that it's documented specifically as
      applying to boxes.
      
      Move EdgeDims to its own file.
      
      Move FractionalOffset up so that it's with the other helper classes in
      its file rather than alone at the end.
      
      Minor change to RenderClipOval's hit testing to avoid taking an
      unnecessary square root.
      
      Rename BoxDecorationPosition to DecorationPosition since
      RenderDecoratedBox now takes any Decoration.
      
      Implement hit testing for rounded rects.
      
      Rename AnimatedBoxDecorationValue to AnimatedDecorationValue, and make
      it support lerping across any Decoration (by deferring to the objects
      involved).
      2afa87df
  37. 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