1. 15 Aug, 2016 1 commit
    • Ian Hickson's avatar
      A Flutter logo widget. (#5382) · 955b3e21
      Ian Hickson authored
      Instead of a PNG, the Flutter gallery widget is now drawn in code.
      
      There's now a FlutterLogoDecoration class that paints the flutter logo
      anywhere you can use a Decoration (e.g. AnimatedContainer).
      
      There's now a FlutterLogo class that honors the IconTheme.
      
      The About dialog box API now takes a Widget for the applicationIcon,
      instead of an ImageProvider. It uses IconTheme to make the icon the
      right size instead of using an Image widget.
      
      Add padding, duration, and curve properties to the DrawerHeader.
      Make the child of a DrawerHeader optional.
      
      Clean up UserAccuntsDrawerHeader a bit.
      
      Add some useful properties and methods to EdgeInsets.
      
      Add some debug logic to RenderDecoratedBox to catch unpaired
      save/restore calls when possible.
      
      Make GestureDetector fill its parent if it has no children. Fixes
      https://github.com/flutter/flutter/issues/5380
      955b3e21
  2. 29 Jul, 2016 1 commit
  3. 29 Apr, 2016 1 commit
    • Adam Barth's avatar
      Improve the TextPainter API (#3621) · e41120bc
      Adam Barth authored
      Instead of using properties, TextPainter now receives min and max width as
      parameters to layout. Also, this patch integrates the intrinsic sizing logic
      into the main layout function, which satisfies all the existing uses cases.
      e41120bc
  4. 27 Apr, 2016 1 commit
  5. 18 Mar, 2016 2 commits
  6. 12 Mar, 2016 1 commit
  7. 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
  8. 30 Jan, 2016 1 commit
  9. 08 Dec, 2015 1 commit
    • Ian Hickson's avatar
      Make BoxDecoration replaceable. · 2afa87df
      Ian Hickson authored
      Factor out a reusable interface called Decoration from BoxDecoration.
      
      Make all the consumers of BoxDecoration and the erstwhile BoxPainter
      into consumers of Decoration.
      
      Make a BoxPainter be something you get from a Decoration, rather than
      something to which you pass a BoxDecoration.
      
      Rename Shape to BoxShape now that it's documented specifically as
      applying to boxes.
      
      Move EdgeDims to its own file.
      
      Move FractionalOffset up so that it's with the other helper classes in
      its file rather than alone at the end.
      
      Minor change to RenderClipOval's hit testing to avoid taking an
      unnecessary square root.
      
      Rename BoxDecorationPosition to DecorationPosition since
      RenderDecoratedBox now takes any Decoration.
      
      Implement hit testing for rounded rects.
      
      Rename AnimatedBoxDecorationValue to AnimatedDecorationValue, and make
      it support lerping across any Decoration (by deferring to the objects
      involved).
      2afa87df
  10. 22 Nov, 2015 1 commit
  11. 19 Nov, 2015 1 commit
  12. 16 Oct, 2015 1 commit
  13. 09 Oct, 2015 1 commit
    • Adam Barth's avatar
      Rename App to MaterialApp · db3b9e80
      Adam Barth authored
      MaterialApp assumes that you're using material design.
      
      Also move radial reaction and fix imports for stats box.
      db3b9e80
  14. 27 Sep, 2015 1 commit
  15. 26 Sep, 2015 1 commit
  16. 18 Sep, 2015 1 commit
  17. 12 Sep, 2015 1 commit
  18. 08 Sep, 2015 1 commit