Update samples to work with Dartpad, and convert all that make… (#50377)

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.
This commit is contained in:
Greg Spencer
2020-02-10 10:00:20 -08:00
committed by GitHub
parent 2a6bc617b8
commit 9fb781a54a
45 changed files with 363 additions and 331 deletions

View File

@@ -3,8 +3,10 @@
<Description>
Welcome to the Flutter API reference documentation search.
Flutter is Googles mobile UI framework for crafting high-quality native interfaces on iOS and Android in record time.
Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.
Flutter is Google's SDK for crafting beautiful, fast user experiences for
mobile, web and desktop from a single codebase. Flutter works with existing
code, is used by developers and organizations around the world, and is free and
open source.
The API reference herein covers all libraries that are exported by the Flutter SDK.
</Description>