1. 06 Jun, 2016 1 commit
  2. 03 Jun, 2016 4 commits
  3. 02 Jun, 2016 1 commit
  4. 01 Jun, 2016 6 commits
    • Ian Hickson's avatar
      PaginatedDataTable (part 1) (#4306) · 0618da7c
      Ian Hickson authored
      This introduces the key parts of a paginated data table, not including
      the built-in pagination features.
      
      * Provide more data for the data table demo, so there's data to page.
      
      * Introduce a ChangeNotifier class which abstracts out
        addListener/removeListener/notifyListeners. We might be able to use
        this to simplify existing classes as well, though this patch doesn't
        do that.
      
      * Introduce DataTableSource, a delegate for getting data for data
        tables. This will also be used by ScrollingDataTable in due course.
      
      * Introduce PaginatedDataTable, a widget that wraps DataTable and only
        shows N rows at a time, fed by a DataTableSource.
      0618da7c
    • Ian Hickson's avatar
      Reenable the gallery smoke test (#4303) · bf6ae3ee
      Ian Hickson authored
      ...and fix some grid and table intrinsic issues it uncovered.
      bf6ae3ee
    • Ian Hickson's avatar
      Fix fallout from intrinsics changes (#4299) · 2d32f1f1
      Ian Hickson authored
      * Fix fallout from intrinsics changes
      
      * Move away from isInfinite in favor of isFinite
      2d32f1f1
    • Adam Barth's avatar
      020b0688
    • Adam Barth's avatar
      Start using protected annotation (#4288) · 887e3396
      Adam Barth authored
      There are many more places we can use this annotation. This patch starts out
      small to test the waters.
      887e3396
    • Adam Barth's avatar
      Deploy mustCallSuper (#4285) · a0e7cdba
      Adam Barth authored
      This patch starts using the mustCallSuper annotation for several of the key
      lifecycle callbacks in the framework. I haven't added it to didUpdateConfig
      because there are a large number of non-compliant overrides. We should discuss
      whether we want to use it there.
      a0e7cdba
  5. 31 May, 2016 1 commit
  6. 30 May, 2016 2 commits
  7. 29 May, 2016 2 commits
  8. 27 May, 2016 1 commit
  9. 26 May, 2016 2 commits
  10. 25 May, 2016 1 commit
  11. 20 May, 2016 2 commits
  12. 18 May, 2016 1 commit
  13. 16 May, 2016 3 commits
    • Adam Barth's avatar
      Speed up compositing by 5x (#3948) · 0f3bd3ae
      Adam Barth authored
      According to the profile for the flow manual test, we're spending the vast
      majority of our time recording timeline traces. This patch removes the timeline
      traces, which greatly improves performance.
      
      Also, optimize TransformLayer to avoid one matrix memcpy. I filed
      https://github.com/google/vector_math.dart/issues/166 about an API that would
      make this even faster.
      0f3bd3ae
    • 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
    • Adam Barth's avatar
      Remove last old-style asserts-with-string (#3923) · a078994a
      Adam Barth authored
      Use the FlutterError hotness instead.
      
      Fixes #1290
      a078994a
  14. 15 May, 2016 1 commit
  15. 13 May, 2016 1 commit
  16. 12 May, 2016 2 commits
  17. 09 May, 2016 1 commit
  18. 07 May, 2016 1 commit
    • Adam Barth's avatar
      Move TextAlign out of TextStyle (#3789) · ee903af0
      Adam Barth authored
      TextAlign applies to a whole paragraph instead of applying to an individual
      text span. This patch moves the property out of TextStyle and into a separate
      property on Text and RichText.
      ee903af0
  19. 05 May, 2016 1 commit
    • Adam Barth's avatar
      Ensure that DropDownMenus are always onscreen (#3742) · 6a46bf2e
      Adam Barth authored
      This patch sizes the menu such that it is always on screen, but doesn't scroll
      the menu to ensure that the currently selected item is always visible and on
      top of the button. That will need to wait for a later patch.
      
      Also, teach CustomPaint how to repaint animations more efficiently.
      
      Fixes #3720
      6a46bf2e
  20. 04 May, 2016 1 commit
  21. 03 May, 2016 3 commits
  22. 02 May, 2016 1 commit
  23. 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