1. 15 Dec, 2017 1 commit
    • Chris Bracken's avatar
      Apply media padding to Gallery Material Design demos (#13593) · d8bfb3a9
      Chris Bracken authored
      Applies media padding (e.g. iPhone X safe area insets) to the Material Design demos in the Gallery.
      
      Covers the following demos:
      * Buttons (via the TabbedComponentDemoScaffold change)
      * Cards
      * Expansion panels
      * Grid list
      * Icons
      * Images (via the TabbedComponentDemoScaffold change)
      * Page Selector
      * Progress Indicator
      * Scrollable tabs
      * Selection controls (via the TabbedComponentDemoScaffold change)
      * Snack bar
      * Tabs
      * Text fields
      * Tooltips
      
      Fixes #13594
      d8bfb3a9
  2. 22 Oct, 2017 1 commit
  3. 23 Apr, 2017 1 commit
  4. 07 Apr, 2017 1 commit
  5. 02 Mar, 2017 1 commit
    • xster's avatar
      Add Cupertino to gallery and add CupertinoButton and many yak friends (#8411) · a76c352d
      xster authored
      * Add cupertino to gallery and add CupertinoButto
      
      * Use single quotes
      
      * Add disabled state
      
      * Some review notes
      
      * Make button animation more responsive and tweak timing
      
      * Renamed things Cupertino
      
      * Button with background, move cupertino demos, move material demos
      
      * Move 2 level list too
      
      * Refactor various demo route names
      
      * Some review notes
      
      * More reviews and add test
      
      * Linter as
      
      * Move private constant up
      a76c352d
  6. 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
  7. 04 Feb, 2017 1 commit
  8. 26 Jan, 2017 1 commit
  9. 19 Jan, 2017 1 commit
  10. 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
  11. 12 May, 2016 1 commit
  12. 09 May, 2016 1 commit
  13. 21 Apr, 2016 1 commit
  14. 08 Apr, 2016 1 commit
  15. 06 Apr, 2016 1 commit
  16. 14 Mar, 2016 1 commit
  17. 13 Mar, 2016 2 commits
    • Adam Barth's avatar
      [rename fixit] Flex alignments · d5b2e2a0
      Adam Barth authored
      * justifyContent -> mainAxisAlignment
      * alignItems -> crossAxisAlignment
      * FlexJustifyContent -> MainAxisAlignment
      * FlexAlignItems -> CrossAxisAlignment
      
      Fixes #231
      d5b2e2a0
    • Adam Barth's avatar
      [rename fixit] ToolBar -> AppBar · ede5dfce
      Adam Barth authored
      * left -> leading (Removes an LTR bias)
      * center -> title (Widget was actually centered)
      * right -> actions (Removes an LTR bias, asymmetric with leading)
      
      Fixes #2348
      ede5dfce
  18. 12 Mar, 2016 3 commits
  19. 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
  20. 19 Feb, 2016 1 commit