1. 07 Oct, 2020 1 commit
  2. 27 Sep, 2020 1 commit
  3. 16 Sep, 2020 1 commit
  4. 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
  5. 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
  6. 29 Jul, 2020 1 commit
  7. 28 Jul, 2020 2 commits
  8. 15 Jul, 2020 1 commit
  9. 08 Jul, 2020 2 commits
  10. 11 Jun, 2020 1 commit
  11. 10 Mar, 2020 1 commit
  12. 06 Mar, 2020 1 commit
  13. 03 Mar, 2020 1 commit
  14. 13 Feb, 2020 1 commit
  15. 10 Feb, 2020 1 commit
    • Greg Spencer's avatar
      Update samples to work with Dartpad, and convert all that make… (#50377) · 9fb781a5
      Greg Spencer authored
      This PR modifies the existing API docs samples to use DartPad so that all of the samples are now interactive apps on the API docs site.
      
      It also removes the restriction for the max width of the description area so that the dartpad region can expand horizontally.
      
      I updated the first paragraph on the API docs to indicate that Flutter is more than just mobile now (same text as the README.md at the top level).
      
      I modified a few of the examples so that they looked nicer, and fit better on the page.
      
      I added the sample description text above each DartPad instance, since that often defines the context of the example.
      
      I removed animations and images when they were redundant with the sample content. There were a few that made sense to keep, so I did.
      9fb781a5
  16. 31 Jan, 2020 1 commit
  17. 28 Jan, 2020 1 commit
  18. 24 Jan, 2020 1 commit
  19. 16 Jan, 2020 1 commit
    • suragch's avatar
      Update assert message for AnimatedContainer (#48962) · 4c1d79f4
      suragch authored
      The error message was misleading because BoxDecoration does not have a `backgroundColor` parameter. Instead it has a `color` parameter, which sets the background color. I also removed the optional `new` keyword.
      4c1d79f4
  20. 14 Jan, 2020 1 commit
  21. 08 Jan, 2020 1 commit
  22. 04 Dec, 2019 1 commit
  23. 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
  24. 22 Nov, 2019 1 commit
  25. 18 Sep, 2019 1 commit
  26. 13 Sep, 2019 1 commit
  27. 05 Sep, 2019 1 commit
    • Ian Hickson's avatar
      Docs (#39198) · a415c76b
      Ian Hickson authored
      * Minor improvements to framework documentation.
      
      * maybePop documentation fix
      
      * Mark some flutter_test arguments required.
      
      Without these set, we get a crash.
      
      * Minor correction to ListView docs
      a415c76b
  28. 23 Aug, 2019 2 commits
    • Greg Spencer's avatar
      Normalize assert checking of clipBehavior (#38568) · 365f577c
      Greg Spencer authored
      I noticed that we were pretty inconsistent with the way that we checked the value of clipBehavior in the framework, so I normalized the usages and updated docs where necessary.
      
      This is a breaking change if you used to pass null explicitly to FlatButton, OutlineButton or RaisedButton constructors, expecting to get Clip.none. It will now assert if you do that. Existing implementations that pass null implicitly by not specifying clipBehavior won't need to change their call sites. It always implicitly defaulted to Clip.none before, and it will continue to do that, it's only places where it was explicitly set to null in order to get the implicit default that it will fail.
      365f577c
    • Michael Goderbauer's avatar
      TweenAnimationBuilder for building custom animations without managing an... · 97df4033
      Michael Goderbauer authored
      TweenAnimationBuilder for building custom animations without managing an AnimationController (#38317)
      
      97df4033
  29. 01 Aug, 2019 1 commit
  30. 10 Jul, 2019 1 commit
    • Greg Spencer's avatar
      Remove reverseDuration from implicitly animated widgets, since it's ignored. (#35785) · e3a08d23
      Greg Spencer authored
      When I added reverseDuration to animation controllers in #32730, I also added it to the implicit animations that Flutter has. However, as @efortuna pointed out to me, it doesn't actually do anything there, since all of the intrinsic animations run forwards, not in the reverse direction, and there's no way to reverse them.
      
      So, this PR removes the reverseDuration argument from the implicit animations to avoid confusion.
      
      Fixes #35769
      e3a08d23
  31. 09 Jul, 2019 1 commit
    • John Ryan's avatar
      add sample code for AnimatedContainer (#35225) · 871b5898
      John Ryan authored
      * add sample code for AnimatedContainer
      
      * use stateful_widget_scaffold snippet template
      
      * add sample explanation
      
      * add setState() to example assumptions for analyzer
      
      * update description
      
      * use snippet instead of sample
      
      * change sample to match assets-for-api-docs
      
      * remove constant
      
      * update AnimatedContainer sample description
      
      add indication the example is depicted by the video and animates when
      tapped
      
      * fix example formatting
      
      * make sample conform to 80 col limit
      
      * add "implemented below" to illustration description
      
      * formatting for readability
      871b5898
  32. 13 Jun, 2019 1 commit
  33. 01 Jun, 2019 1 commit
  34. 16 May, 2019 1 commit
  35. 29 Apr, 2019 1 commit
  36. 05 Apr, 2019 1 commit