1. 16 Sep, 2020 1 commit
  2. 15 Sep, 2020 1 commit
    • Alexandre Ardhuin's avatar
      Reland "Nnbd widgets" (#65528) · b007a81a
      Alexandre Ardhuin authored
      * Reland "Nnbd widgets (#64672)"
      
      This reverts commit 127e6790.
      
      * remove non-nullable enforcement on AsyncSnapshot
      
      * make data param non-nullable for AsyncSnapshot.withData
      
      * make some Text params non-nullable
      b007a81a
  3. 09 Sep, 2020 2 commits
    • Michael Goderbauer's avatar
      Revert "Nnbd widgets (#64672)" (#65488) · 127e6790
      Michael Goderbauer authored
      This reverts commit e682ec71.
      127e6790
    • Alexandre Ardhuin's avatar
      Nnbd widgets (#64672) · e682ec71
      Alexandre Ardhuin authored
      * migrate widget to nullsafety
      
      * remove double blank line after license
      
      * address review comments in actions.dart
      
      * nullable ObjectKey.value
      
      * use local variable oldElement
      
      * make State.build non-nullable
      
      * make State.context non-nullable
      
      * newline at eof
      
      * make ProxyWidget.child non-nullable
      
      * make _InactiveElements.debugContains non-nullable
      
      * make Element.depth non-nullable
      
      * make ProxyElement.build non-nullable
      
      * make StatefulElement.state non-nullable
      
      * remove 'Notice that'
      
      * avoid cast of list in RenderObjectElement.updateChildren
      
      * make IndexedSlot.value non-nullable
      
      * avoid cast of list in MultiChildRenderObjectElement.mount
      
      * make some WidgetsApp parameters non-nullable
      
      * hitTest take non-nullable position
      
      * make ScrollableState.position non-nullable
      
      * use _pixels instead of pixels
      
      * make ViewportOffset.pixels non-nullable
      
      * make param and return type of IndexedWidgetBuilder non-nullable
      
      * unused_import
      
      * make context param non-nullable for Builder in animated_list.dart
      
      * make ScrollMetrics.viewportDimension non-nullable
      
      * make ScrollMetrics.{min,max}ScrollExtent non-nullable
      
      * make _Location.file non-nullable
      
      * _WidgetForTypeTests.createElement throw UnimplementedError
      
      * update _NullWidget.build error message
      
      * make _ShortcutsState.manager non-nullable
      
      * Fix childCount issues for NNBD
      
      * fix childCount computation on web
      
      * increase max value on js side to compute childCount
      
      * make aspect parameter of dependOnInheritedWidgetOfExactType nullable
      
      * merge has{min,max}ScrollExtent into hasScrollExtents
      
      * update focus_manager.dart
      
      * address review comments in icon.dart
      
      * address review comments in image.dart
      
      * address review comments in routes.dart
      
      * address review comments in scroll_activity.dart
      
      * update doc comments
      
      * make UserScrollNotification.direction non-nullable and required
      
      * rename hasScrollExtents to hasContentDimensions
      
      * unnecessary late
      Co-authored-by: 's avatarIan Hickson <ian@hixie.ch>
      e682ec71
  4. 11 Jun, 2020 1 commit
  5. 31 Mar, 2020 1 commit
  6. 04 Dec, 2019 1 commit
  7. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  8. 16 Nov, 2019 1 commit
  9. 04 Jun, 2019 2 commits
  10. 03 Jun, 2019 1 commit
  11. 21 Feb, 2019 1 commit
  12. 30 Jan, 2019 1 commit
  13. 16 Oct, 2018 1 commit
  14. 12 Sep, 2018 1 commit
  15. 05 Jun, 2018 1 commit
  16. 18 May, 2018 1 commit
  17. 03 May, 2018 1 commit
  18. 20 Mar, 2018 1 commit
  19. 09 Jan, 2018 1 commit
  20. 30 Nov, 2017 1 commit
  21. 17 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Fix spelling errors in all the dartdocs. (#13061) · 0259be90
      Greg Spencer authored
      I got tired of drive-by spelling fixes, so I figured I'd just take care of them all at once.
      
      This only corrects errors in the dartdocs, not regular comments, and I skipped any sample code in the dartdocs. It doesn't touch any identifiers in the dartdocs either. No code changes, just comments.
      0259be90
  22. 20 Sep, 2017 1 commit
    • xster's avatar
      Scroll momentum builds on iOS with repeated flings (#11685) · 59b94185
      xster authored
      * Record original pointer event timestamp
      
      * review
      
      * review
      
      * review
      
      * Matched motions with iOS. Didn’t add overscroll spring clamps and fix tests yet.
      
      * clamp max overscroll transfer
      
      * Add test
      
      * review notes, moved things around
      
      * remove function passing indirection
      
      * review
      
      * Replace stopwatch with timestamp from #11988
      
      * move static
      
      * Review
      59b94185
  23. 04 Aug, 2017 1 commit
  24. 30 Jun, 2017 1 commit
  25. 09 Jun, 2017 1 commit
  26. 08 Jun, 2017 1 commit
  27. 06 Jun, 2017 1 commit
  28. 03 May, 2017 1 commit
  29. 02 May, 2017 1 commit
    • Ian Hickson's avatar
      Tapping a ScrollView during overscroll got it stuck. (#9721) · f64bfba8
      Ian Hickson authored
      Fixes https://github.com/flutter/flutter/issues/8476
      
      More detailed list of changes in this patch:
      
      * Replaced the didTouch special logic with more generic logic that
        uses Activities instead. Now instead when you tap down the
        Scrollable calls `hold()` which begins a HoldScrollActivity which is
        a hybrid of DragStartDetails and IdleScrollActivity and can be
        canceled. When you let go, it gets canceled and that goes ballistic.
      
      * Make DragGestureRecognizer more aggressive about grabbing pointers,
        otherwise a second pointer in a situation with competing horizontal
        and vertical recognizers always gets taken by the other one.
      
      * Fixed the _GestureSemantics widget to call the "down" callbacks so
        that it follows the same pattern as "real" interactions.
      
      * Added tests for the above.
      
      * Added a hashCode to ScrollActivity.toString (and subclasses).
      
      * Added a toString to ScrollDragController, and include it in
        DragScrollActivity's toString.
      
      * s/coorindator/coordinator/
      
      * Add a comment in DragStartDetails to distinguish it from the
        otherwise identical DragDownDetails, so we're not tempted to merge
        them.
      f64bfba8
  30. 30 Apr, 2017 1 commit
  31. 27 Apr, 2017 2 commits
    • Adam Barth's avatar
      Shift more code to ScrollPosition (#9637) · 4bac2596
      Adam Barth authored
      Previously, ScrollPosition did not know about ScrollActivities. However, all
      the concrete subclasses of ScrollPosition that we know about need to use
      ScrollActivities, so they ended up with a bunch of delegate boilerplate code.
      
      This patch teaches ScrollPosition about ScrollActivities but doesn't have any
      opinion about how to start or interact with those activities.
      
      This patch is more refactoring to prepare for nested and linked scrolling.
      4bac2596
    • Adam Barth's avatar
      Refactor ScrollDragActivity into two pieces (#9629) · 28917728
      Adam Barth authored
      This will make it easier to implement nested scrolling.
      28917728
  32. 25 Apr, 2017 1 commit