You need to sign in or sign up before continuing.
  1. 04 Dec, 2017 1 commit
  2. 02 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Adding proper accommodation for textScaleFactor in chips, and StadiumBorder border. (#12533) · 05e10633
      Greg Spencer authored
      In order to allow chips to be properly drawn when they expand in size (without
      using IntrinsicHeight), I needed a BoxDecoration shape that would be dependent
      upon the rendered height of the widget. This seemed to be pretty generally
      useful, so I added a new ShapeDecoration called StadiumBorder. It uses the
      minimum dimension to adjust the BorderRadius of a rounded rect in the shape
      decoration.
      
      I also converted some uses of BoxShape to be case statements, updated the
      chips to use the StadiumBorder decoration, and updated some of the metrics to match
      the Material spec, as well as implementing lerping to and from StadiumBorder.
      05e10633
  3. 28 Aug, 2017 1 commit
    • Ian Hickson's avatar
      RTL: Padding, Flex (#11709) · f235a2c1
      Ian Hickson authored
      * Introduce a Directionality inherited widget which sets the ambient LTR vs RTL mode (defaulting to null, which means you cannot use directionality-influenced values).
      
      * Make it possible to configure Padding (including Container.padding and Container.margin) using a directionality-agnostic EdgeInsets variant.
      
      * Provide textDirection and verticalDirection controls on Row and Column to make them RTL-aware.
      
      * Introduce a variant of FractionalOffset based on the EdgeInsets variant. Not yet actually used.
      
      * Fix all the tests that depended on Row defaulting to LTR.
      f235a2c1
  4. 12 Aug, 2017 1 commit
    • ameiyil's avatar
      Wrap the label widget of the Chip in a Flexible. (#11523) (#11554) · b156a0f0
      ameiyil authored
      * Wrap the label widget of the Chip in a Flexible. (#11523)
      
      * This allows the Chip to constrain the size of its content after taking into account the space occupied by the avatar and delete icon (if they are present)
      
      * Adding unit tests to evaluate correct size constraints of the Chip widget's label. (#11523)
      
      * Minor change in formatting.
      
      * Adjust function formatting.
      b156a0f0
  5. 05 Aug, 2017 1 commit
    • paolosoares's avatar
      Adds more customization options to the Chip widget (#11498) · 4da5e9b2
      paolosoares authored
      * Adds more customization options to the Chip widget
      
      Includes:
      - Custom Tooltip message for the delete button;
      - Custom background color for the chip
      - Custom delete icon color
      - Custom label text style
      
      * Adds missing type annotations to tests and improves documentation.
      
      * Tweaks labelStyle field documentation
      4da5e9b2
  6. 23 Jun, 2017 1 commit
  7. 24 May, 2017 1 commit
  8. 21 May, 2017 1 commit
  9. 27 Apr, 2017 1 commit
  10. 21 Mar, 2017 1 commit
  11. 04 Mar, 2017 1 commit
  12. 31 Jan, 2017 1 commit
  13. 09 Dec, 2016 1 commit
  14. 23 Oct, 2016 1 commit
  15. 29 Jul, 2016 1 commit
    • Dragoș Tiselice's avatar
      Added BorderRadius. (#5072) · f3444fcf
      Dragoș Tiselice authored
      * Added custom radii to RRect.
      
      This is the first commit towads an implementation of
      MergeableMaterial. It adds custom radii to RRect.
      
      * Renamed RRect constructors and added BorderRadius.
      
      BorderRadius is a class similar to EdgeInsets that lets you define
      all rounded corners of a rounded rectangle easily.
      f3444fcf
  16. 21 Jun, 2016 2 commits
    • Hans Muller's avatar
    • 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. 16 May, 2016 2 commits
  18. 08 Apr, 2016 1 commit
  19. 07 Apr, 2016 1 commit
  20. 01 Apr, 2016 1 commit
  21. 31 Mar, 2016 1 commit
  22. 14 Mar, 2016 1 commit
  23. 13 Mar, 2016 1 commit
    • Adam Barth's avatar
      [rename fixit] Flex alignments · d5b2e2a0
      Adam Barth authored
      * justifyContent -> mainAxisAlignment
      * alignItems -> crossAxisAlignment
      * FlexJustifyContent -> MainAxisAlignment
      * FlexAlignItems -> CrossAxisAlignment
      
      Fixes #231
      d5b2e2a0
  24. 12 Mar, 2016 2 commits
  25. 02 Mar, 2016 1 commit
    • 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
  26. 27 Jan, 2016 1 commit
  27. 22 Jan, 2016 1 commit
  28. 11 Jan, 2016 1 commit
  29. 08 Dec, 2015 1 commit
  30. 23 Nov, 2015 2 commits