1. 03 Jun, 2016 2 commits
  2. 31 May, 2016 1 commit
  3. 29 May, 2016 1 commit
    • Adam Barth's avatar
      Remove OverlayPainter mechanism (#4264) · 76772608
      Adam Barth authored
      We used to use this mechanism to paint scrollbars, but it's awkward. The
      new approach to scrollbars is much cleaner. This mechanism has no other
      clients, so we should remove it.
      76772608
  4. 16 May, 2016 1 commit
    • Ian Hickson's avatar
      Make it possible to run tests live on a device (#3936) · 32527017
      Ian Hickson authored
      This makes it possible to substitute 'flutter run' for 'flutter test'
      and actually watch a test run on a device.
      
      For any test that depends on flutter_test:
      
      1. Remove any import of 'package:test/test.dart'.
      
      2. Replace `testWidgets('...', (WidgetTester tester) {`
            with `testWidgets('...', (WidgetTester tester) async {`
      
      3. Add an "await" in front of calls to any of the following:
          * tap()
          * tapAt()
          * fling()
          * flingFrom()
          * scroll()
          * scrollAt()
          * pump()
          * pumpWidget()
      
      4. Replace any calls to `tester.flushMicrotasks()` with calls to
         `await tester.idle()`.
      
      There's a guarding API that you can use, if you have particularly
      complicated tests, to get better error messages. Search for
      TestAsyncUtils.
      32527017
  5. 02 May, 2016 1 commit
  6. 29 Apr, 2016 1 commit
  7. 26 Apr, 2016 1 commit
  8. 22 Apr, 2016 2 commits
  9. 20 Apr, 2016 1 commit
  10. 15 Apr, 2016 2 commits
    • Ian Hickson's avatar
      Material Data Tables (#3337) · a91bc0ba
      Ian Hickson authored
      + Add new demo to gallery to show data tables. (This currently doesn't
      use a Card; I'll create a Card version in a subsequent patch.)
      
      + Fix checkbox alignment. It now centers in its box regardless.
      
      + Add Colors.black54.
      
      + Some minor fixes to dartdocs.
      
      + DataTable, DataColumn, DataRow, DataCell
      
      + RowInkWell
      
      + Augment dartdocs of materia/debug.dart.
      
      + DropDownButtonHideUnderline to hide the underline in a drop-down when
        used in a DataTable.
      
      + Add new capabilities to InkResponse to support RowInkWell.
      
      + Augment dartdocs of materia/material.dart.
      
      + Add an assert to catch nested Blocks.
      
      + Fix a crash in RenderBox when you remove an object and an ancestor
        used its baseline. (https://github.com/flutter/flutter/issues/2874)
      
      + Fix (and redocument) RenderBaseline/Baseline.
      
      + Add flex support to IntrinsicColumnWidth.
      
      + Document more stuff on the RenderTable side.
      
      + Fix a bug with parentData handling on RenderTable children.
      
      + Completely rewrite the column width computations. The old logic made
        no sense at all.
      
      + Add dartdocs to widgets/debug.dart.
      
      + Add a toString for TableRow.
      a91bc0ba
    • Ian Hickson's avatar
      Use the same logic in flushPaint as flushLayout (#3353) · d348f28d
      Ian Hickson authored
      If two repaint boundaries mark themselves dirty, but the second one is a
      child of the first, then the second one will get repainted by the first
      and then when we come to paint it directly, we get confused because it
      isn't dirty any more.
      
      We ran into this in layout before. Apply the same fix. Also, apply the
      same fix to composition while we're at it.
      d348f28d
  11. 13 Apr, 2016 1 commit
  12. 12 Apr, 2016 1 commit
  13. 11 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Add even more careful checks around BoxConstraints (#3243) · 47f5c6f2
      Ian Hickson authored
      I ran into a case where I was setting minHeight=∞ and then calling
      layout() with that constraint, which is all kinds of bad. To try to
      catch this earlier, this patch now provides a way to catch constraints
      that are requiring infinite values.
      
      We don't _always_ check this because there are valid uses for
      BoxConstraints.biggest, e.g. as an additionalConstraint.
      47f5c6f2
  14. 09 Apr, 2016 1 commit
  15. 07 Apr, 2016 1 commit
    • Adam Barth's avatar
      Remove RenderBlockViewport · 1e207c01
      Adam Barth authored
      Previously this was used by MixedViewport, but now we don't need it because
      
      LazyBlockViewport has replaced MixedViewport.
      
      
      
      I've also taken this opportunity to modernize RenderBlock.
      1e207c01
  16. 06 Apr, 2016 1 commit
  17. 29 Mar, 2016 3 commits
    • Hixie's avatar
      More table fixes · bdfeaaa4
      Hixie authored
      bdfeaaa4
    • Hixie's avatar
      Table widget · baf06515
      Hixie authored
      - Add x and y to the parent data, in case it's useful. In point of fact,
        I ended up not needing it.
      
      - Make columnWidths settable rather than having a setter so that the
        code in the widgets layer is more idiomatic.
      
      - Teach setFlatChildren about avoiding unnecessary drop/adopt loops.
      
      - Assert that the child list length is correct more aggressively so that
        we catch the dumb bug I had more quickly next time.
      
      - Improve the toString() to handle empty tables better.
      
      - Resort the imports in framework.dart.
      
      - Introduce a LocalKey for cases where you don't want to allow use of
        GlobalKey.
      
      - Make inflateWidget and deactivateChild public for subclass use.
      
      - Table widget.
      
      - Cell widget.
      
      - TableRow fake widget.
      baf06515
    • Adam Barth's avatar
      Add constants for FractionalOffsets · 1ba539a6
      Adam Barth authored
      Adds some names for common FractionalOffset values.
      1ba539a6
  18. 26 Mar, 2016 1 commit
  19. 24 Mar, 2016 1 commit
  20. 23 Mar, 2016 1 commit
  21. 22 Mar, 2016 2 commits
  22. 16 Mar, 2016 1 commit
  23. 14 Mar, 2016 1 commit
  24. 13 Mar, 2016 1 commit
    • Adam Barth's avatar
      [rename fixit] Flex alignments · d5b2e2a0
      Adam Barth authored
      * justifyContent -> mainAxisAlignment
      * alignItems -> crossAxisAlignment
      * FlexJustifyContent -> MainAxisAlignment
      * FlexAlignItems -> CrossAxisAlignment
      
      Fixes #231
      d5b2e2a0
  25. 12 Mar, 2016 5 commits
  26. 09 Mar, 2016 1 commit
  27. 04 Mar, 2016 1 commit
  28. 02 Mar, 2016 1 commit
  29. 25 Feb, 2016 1 commit
  30. 24 Feb, 2016 1 commit