1. 21 Jan, 2017 1 commit
  2. 03 Jan, 2017 1 commit
  3. 02 Dec, 2016 1 commit
  4. 30 Nov, 2016 1 commit
  5. 10 Nov, 2016 1 commit
    • Chris Bracken's avatar
      Add accentTextTheme and accentIconTheme to ThemeData (#6808) · d0ff41ec
      Chris Bracken authored
      These define a TextTheme and IconTheme that contrast with the accent
      colour brightness. Also adjust default accentColorBrightness to match
      Material spec examples (dark text/icons on teal in Dark theme).
      
      Update material components to use accentTextTheme, accentIconTheme:
      * DatePicker selection
      * Floating action button icon
      * TimePicker selection
      * Slider label text
      d0ff41ec
  6. 08 Nov, 2016 1 commit
  7. 02 Nov, 2016 1 commit
  8. 29 Oct, 2016 1 commit
  9. 23 Oct, 2016 1 commit
  10. 19 Oct, 2016 1 commit
  11. 11 Oct, 2016 1 commit
  12. 26 Jul, 2016 1 commit
  13. 25 Jul, 2016 1 commit
  14. 23 Jun, 2016 1 commit
  15. 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
  16. 20 Jun, 2016 1 commit
  17. 09 Jun, 2016 1 commit
  18. 07 Jun, 2016 1 commit
  19. 04 May, 2016 1 commit
    • Adam Barth's avatar
      Add missing dartdocs from material.dart (#3709) · 7712e583
      Adam Barth authored
      Making progress towards document all public APIs in material.dart. We're still
      missing a few odds and ends (as well as missing docs in tabs.dart,
      tooltip.dart, and two_level_list.dart).
      7712e583
  20. 29 Apr, 2016 1 commit
    • Adam Barth's avatar
      Fix the padding and space for FlatButton and RaisedButton (#3650) · b2fa6c25
      Adam Barth authored
      Instead of incorporating the margin into the button, introduce a ButtonBar
      widget that supplies the proper spacing between the buttons. Also, make these
      buttons more configurable via ButtonTheme so that dialogs can change the
      minWidth and padding of the buttons as required by the spec.
      
      Fixes #1843
      Fixes #3184
      b2fa6c25
  21. 21 Apr, 2016 1 commit
    • Matt Perry's avatar
      Add basic text selection to editable text. (#3223) · 11f236ec
      Matt Perry authored
      Only partially works. Editing the selected text doesn't work very well,
      which probably will require engine changes. Currently only draws the
      selected text and allows you to manipulate the selection with draggable
      selection handles.
      11f236ec
  22. 13 Apr, 2016 1 commit
  23. 05 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Introduce a color for selected rows in data tables · b9f04817
      Ian Hickson authored
      - Rename unselectedColor to unselectedWidgetColor.
      
      - Rename selectionColor to textSelectionColor.
      
      - Add selectedRowColor.
      
      - Remove hintOpacity since it's not tested and has no demo clients.
      
      - Add some docs.
      b9f04817
  24. 30 Mar, 2016 1 commit
  25. 14 Mar, 2016 1 commit
  26. 12 Mar, 2016 1 commit
  27. 11 Mar, 2016 2 commits
    • Ian Hickson's avatar
      Enable ALL THE LINTS · 1b9cd520
      Ian Hickson authored
      Well, all the easy ones, anyway.
      
      For some reason `// ignore:` isn't working for me so I've disabled
      lints that need that. Also disabled those that require a ton of work
      (which I'm doing, but not in this PR, to keep it reviewable).
      
      This adds:
      - avoid_init_to_null
      - library_names
      - package_api_docs
      - package_names
      - package_prefixed_library_names
      - prefer_is_not_empty
      - sort_constructors_first
      - sort_unnamed_constructors_first
      - unnecessary_getters_setters
      1b9cd520
    • Quddus Chong's avatar
  28. 02 Mar, 2016 1 commit
    • Adam Barth's avatar
      Remove IconThemeColor · bfc39aa8
      Adam Barth authored
      This enum doesn't make sense anymore now that we can arbitrarily colorize
      icons.  Instead, we just use a Color, which is both simpler and can be
      interpolated during animations.
      
      Fixes #1279
      bfc39aa8
  29. 22 Feb, 2016 1 commit
    • Adam Barth's avatar
      Remove ThemeData.primarySwatch · 2c2fa238
      Adam Barth authored
      In the dark theme, there isn't really a primary swatch, so this API was
      a sandtrap. Instead, be explicit about the colors we need for various
      widgets in the theme.
      
      Fixes #1277
      2c2fa238
  30. 12 Feb, 2016 1 commit
  31. 24 Jan, 2016 1 commit
  32. 18 Jan, 2016 1 commit
    • Ian Hickson's avatar
      Reimplement the theme transition animation by actually animating the Theme. · 73c9ebab
      Ian Hickson authored
      As part of this:
       - A lot of classes got new lerp functions, including e.g. TextStyle.
       - Theme's constructor story got overhauled. You can now configure
         everything if you really want to, and we're better about defaults.
       - Material no longer automatically animates its background color.
         (It still does for its shadow.)
       - Tabs try to get the indicator color from the theme.
       - The fields in ThemeData got reordered for sanity.
       - Theme.== and Theme.hashCode got fixed.
       - Typography got a bit of a spring cleaning.
      
      Fixes #613.
      73c9ebab
  33. 10 Dec, 2015 1 commit
  34. 04 Dec, 2015 1 commit
    • Adam Barth's avatar
      Improve material ink response · 0608a02a
      Adam Barth authored
      This patch contains a number of improvements to the material ink response:
      
      - The ink response now remains until you lift your finger
      - When disappearing, the ink response now fades out
      - The ink response is now the correct color (at least in the light theme)
      - The ink response for IconButton now has a (circular) highlight
      - The ink response for IconButton now repositions itself to be centered on the highlight
      
      In addition, I've adjusted the various animation parameters to better match the
      behavior of ink responses in the Java implementation of material.
      
      Fixes #695
      0608a02a
  35. 01 Dec, 2015 1 commit
  36. 26 Nov, 2015 1 commit
  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
  38. 18 Oct, 2015 1 commit
    • Hixie's avatar
      toString()ify more stuff · 7c0c1c96
      Hixie authored
      - truncate pixel values to 1dp since there's really no point being told
        the Size is 302.98732587287 by 648.28498579187.
      
      - describe more Widgets so that debugDumpApp() is more useful.
      
      - remove bufferValue from ProgressIndicator (cc @hansmuller) since it's
        not yet implemented.
      
      - half-hearted toString() for ThemeData. There's no point making a
        complete one, since it would cause line-wrap even on big monitors in
        debugDumpApp dumps, and you can easily get the actual values from a
        debugging if that's the issue.
      
      - flesh out BoxConstraints.toString() so that fully unconstrained and
        fully infinite constraints are called out explicitly. I experimented
        with adding even more special cases, e.g. calling out unconstrained
        widths with fixed heights, etc, but it made the output less readable.
      
      - remove a redundant _updateVariable() in AnimatedContainer (cc
        @abarth).
      
      - add more information to RenderView.toString().
      7c0c1c96
  39. 16 Oct, 2015 1 commit