1. 11 Jun, 2020 1 commit
  2. 10 Mar, 2020 1 commit
  3. 06 Mar, 2020 1 commit
  4. 03 Mar, 2020 1 commit
  5. 13 Feb, 2020 1 commit
  6. 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
  7. 31 Jan, 2020 1 commit
  8. 28 Jan, 2020 1 commit
  9. 24 Jan, 2020 1 commit
  10. 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
  11. 14 Jan, 2020 1 commit
  12. 08 Jan, 2020 1 commit
  13. 04 Dec, 2019 1 commit
  14. 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
  15. 22 Nov, 2019 1 commit
  16. 18 Sep, 2019 1 commit
  17. 13 Sep, 2019 1 commit
  18. 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
  19. 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
  20. 01 Aug, 2019 1 commit
  21. 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
  22. 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
  23. 13 Jun, 2019 1 commit
  24. 01 Jun, 2019 1 commit
  25. 16 May, 2019 1 commit
  26. 29 Apr, 2019 1 commit
  27. 05 Apr, 2019 1 commit
  28. 03 Apr, 2019 1 commit
  29. 18 Mar, 2019 1 commit
    • Filip Hracek's avatar
      Add sample to forEachTween (#29195) · 644f499a
      Filip Hracek authored
      The current documentation for `AnimatedWidgetBaseState.forEachTween` is exhaustive but a little hard to grok. This dartdoc example provides some clarity.
      644f499a
  30. 09 Mar, 2019 1 commit
  31. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  32. 29 Jan, 2019 1 commit
  33. 08 Jan, 2019 1 commit
  34. 18 Dec, 2018 2 commits
  35. 08 Nov, 2018 1 commit
  36. 16 Oct, 2018 1 commit
  37. 23 Sep, 2018 1 commit
  38. 14 Sep, 2018 1 commit