From 7f15662f561ce744328850a897f6c496a8b28709 Mon Sep 17 00:00:00 2001 From: Kathy Walrath Date: Thu, 24 Jun 2021 16:21:55 -0700 Subject: [PATCH] Update the package README template (#84160) Co-authored-by: JaYoung Lee <11873270+jayoung-lee@users.noreply.github.com> --- .../templates/package/README.md.tmpl | 45 ++++++++++++++----- 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/packages/flutter_tools/templates/package/README.md.tmpl b/packages/flutter_tools/templates/package/README.md.tmpl index e607b50654..8b55e735b5 100644 --- a/packages/flutter_tools/templates/package/README.md.tmpl +++ b/packages/flutter_tools/templates/package/README.md.tmpl @@ -1,14 +1,39 @@ -# {{projectName}} + -This project is a starting point for a Dart -[package](https://flutter.dev/developing-packages/), -a library module containing code that can be shared easily across -multiple Flutter or Dart projects. +TODO: Put a short description of the package here that helps potential users +know whether this package might be useful for them. -For help getting started with Flutter, view our -[online documentation](https://flutter.dev/docs), which offers tutorials, -samples, guidance on mobile development, and a full API reference. +## Features + +TODO: List what your package can do. Maybe include images, gifs, or videos. + +## Getting started + +TODO: List prerequisites and provide or point to information on how to +start using the package. + +## Usage + +TODO: Include short and useful examples for package users. Add longer examples +to `/example` folder. + +```dart +const like = 'sample'; +``` + +## Additional information + +TODO: Tell users more about the package: where to find more information, how to +contribute to the package, how to file issues, what response they can expect +from the package authors, and more.