1. 15 Sep, 2017 1 commit
    • Ian Hickson's avatar
      Allow multiple FloatingActionButtons to be used on one screen. (#12074) · d6580489
      Ian Hickson authored
      * Allow FloatingActionButton to not have a heroTag.
      * Allow FloatingActionButton to not have a child.
      * Allow Tooltip to not have a child.
      * Improve the debug output of the default FloatingActionButton hero tag.
      * Improve the error message in the Hero clashing-tag case.
      * Improve the debug output of the Hero widget.
      * Improve the debug output of gesture-related widgets.
      * Minor improvements to documentation.
      * Fix some typos in comments.
      * Fix some style nits.
      d6580489
  2. 27 May, 2017 1 commit
    • Ian Hickson's avatar
      Much work on the documentation (#10331) · f50caddf
      Ian Hickson authored
      Minor fixes throughout, e.g. removing trailing commas from the end of sample code expressions, changing headings to "sample code" more consistently, removing stale todos, fix typos in a private method name, minor grammar fixes, added some clarifications to CircularProgressIndicator, LinearProgressIndicator, CrossAxisAlignment, added some cross-references to various members, made it slightly clearer that layout algorithms are implementation details.
      
      Clarified "elevation" throughout.
      
      Added docs to InkResponse and InkWell.
      
      Added sample code for: SliverAppBar, Card, ListTile, EdgeInsets, Row, Column, CustomScrollView, ListView, SliverFixedExtentList, and SliverGrid.
      
      Fixes #10317.
      Fixes #10316.
      Fixes #10267. (sort of, see comment therein)
      Fixes #9331. (sort of, see comment therein)
      Fixes #9407. (sort of, see comment therein)
      f50caddf
  3. 21 May, 2017 1 commit
  4. 03 May, 2017 1 commit
  5. 13 Apr, 2017 1 commit
  6. 11 Apr, 2017 1 commit
    • xster's avatar
      Rename State.config to widget everywhere (#9273) · 89a7fdfc
      xster authored
      Rename State.config to State.widget
      Rename State.didUpdateConfig to State.didUpdateWidget
      Renamed all State subclasses' local variables named config to something else
      89a7fdfc
  7. 23 Feb, 2017 1 commit
  8. 20 Jan, 2017 1 commit
  9. 19 Nov, 2016 1 commit
  10. 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
  11. 03 Nov, 2016 1 commit
  12. 23 Oct, 2016 1 commit
  13. 02 Aug, 2016 1 commit
    • Adam Barth's avatar
      Improve performance of Pesto hero animation (#5182) · 4086e7a3
      Adam Barth authored
      Previously we were resizing a paragraph of text during the animation. Now we
      animate the text and the image separately. Also, add a default hero tag for
      FloatingActionButton so that it animates as part of the hero transition as
      well.
      4086e7a3
  14. 22 Jul, 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. 15 Jun, 2016 1 commit
  17. 12 Jun, 2016 1 commit
  18. 07 Jun, 2016 1 commit
  19. 02 Jun, 2016 1 commit
    • Adam Barth's avatar
      Improve float action button transitions (#4309) · 6d4fd850
      Adam Barth authored
      Previously the floating action button would disappear during transitions. Now
      we animate properly. I've also centralized the animation in Scaffold instead of
      spreading it across the Scaffold and the FloatingActionButton.
      
      Fixes #1718
      6d4fd850
  20. 25 May, 2016 1 commit
  21. 27 Apr, 2016 1 commit
  22. 22 Apr, 2016 1 commit
  23. 12 Apr, 2016 1 commit
  24. 07 Apr, 2016 1 commit
  25. 01 Apr, 2016 1 commit
  26. 31 Mar, 2016 1 commit
  27. 18 Mar, 2016 2 commits
  28. 14 Mar, 2016 1 commit
  29. 12 Mar, 2016 1 commit
  30. 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
  31. 26 Feb, 2016 1 commit
  32. 14 Feb, 2016 1 commit
  33. 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
  34. 20 Jan, 2016 2 commits
    • Adam Barth's avatar
      Remove Performance and AnimatedValue · b988a875
      Adam Barth authored
      This patch removes Performance and AnimationValue now that we've ported the
      framework over to AnimationController and Tween. This patch also cleans up the
      names of the AnimationController classes now that they don't have to avoid
      conflicts with the old animation API. Specifically, I've made the following
      renames:
      
       * Animated -> Animation
       * Evaluatable -> Animatable
       * PerformanceStatus -> AnimationStatus
      
      This patch is just renames and moving code around. There aren't any changes in
      behavior.
      b988a875
    • Adam Barth's avatar
      Switch Navigator over to using AnimationController · 6cea5dc8
      Adam Barth authored
      This patch moves Navigator and related code over to using
      AnimationController.
      6cea5dc8
  35. 12 Jan, 2016 1 commit
  36. 14 Dec, 2015 1 commit
  37. 01 Dec, 2015 1 commit
  38. 18 Nov, 2015 1 commit
    • Hans Muller's avatar
      Update shadow rendering · d9153a13
      Hans Muller authored
      Shadows now render as three seprate MaskFilter.blur components per the most recent Material spec.
      
      The shadows Map was replaced by a similar Map called elevationToShadow with entries that match the 10 elevations specifed by http://www.google.com/design/spec/what-is-material/elevation-shadows.html.
      
      The "level" property (many classes) is now called "elevation", to match the Material spec.
      
      BoxShadow now includes a spreadRadius parameter - as in CSS box-shadow. Renamed the BoxShadow blur property to blurRadius to further align BoxShadow with CSS box-shadow.
      d9153a13