1. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  2. 01 Oct, 2018 1 commit
  3. 28 Sep, 2018 1 commit
  4. 12 Sep, 2018 1 commit
  5. 06 Feb, 2018 1 commit
  6. 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
  7. 21 Apr, 2017 1 commit
  8. 18 Apr, 2017 1 commit
  9. 07 Apr, 2017 1 commit
  10. 04 Mar, 2017 1 commit
  11. 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
  12. 09 Jan, 2017 1 commit
  13. 22 Nov, 2016 1 commit
    • Adam Barth's avatar
      Rename Flexible to Expanded and improve docs (#6978) · 8ca4caa4
      Adam Barth authored
      This patch replaces uses of Flexible with Expanded where we're using
      FlexFit.tight. We still need to think of a better name for the
      FlexFit.loose variant.
      
      Also, improve the docs for Row, Column, Flex, and RenderFlex to be more
      problem-oriented and to give a complete account of the layout algorithn.
      
      Fixes #6960
      Fixes #5169
      8ca4caa4
  14. 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
  15. 24 May, 2016 1 commit
  16. 09 May, 2016 1 commit
  17. 21 Apr, 2016 2 commits
  18. 06 Apr, 2016 1 commit
  19. 14 Mar, 2016 1 commit
  20. 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
  21. 12 Mar, 2016 5 commits
  22. 10 Mar, 2016 1 commit
  23. 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
  24. 27 Jan, 2016 1 commit
  25. 20 Jan, 2016 5 commits
  26. 14 Jan, 2016 1 commit
    • Hixie's avatar
      Tooltips · 24cab899
      Hixie authored
      Introduces a new Tooltip class.
      Adds support for tooltips to IconButton and Scaffold.
      Adds some tooltips to various demos.
      
      Also some tweaks to stack.dart that I made before I decided not to go
      down a "CustomPositioned" route.
      24cab899
  27. 11 Jan, 2016 2 commits
    • Adam Barth's avatar
      Use a named argument for Widget children · 05676641
      Adam Barth authored
      Previously we used a positional argument for widgets that had multiple
      children. Now we use a named argument that defaults to an empty list.
      
      Fixes #241
      05676641
    • Adam Barth's avatar
      Simplify TabView API · dd08bf79
      Adam Barth authored
      Instead of taking a builder and a generic type, we can just take a
      List<Widget>.
      dd08bf79
  28. 07 Jan, 2016 1 commit