topics constant

List<Object> const topics

Topics

Current app topics

Package authors can use the topics field to categorize their package. Topics can be used to assist discoverability during search with filters on pub.flutter-io.cn. Pub.dev displays the topics on the package page as well as in the search results.

The field consists of a list of names. For example:

topics:
  - network
  - http

Pub.dev requires topics to follow these specifications:

  • Tag each package with at most 5 topics.
  • Write the topic name following these requirements:
    1. Use between 2 and 32 characters.
    2. Use only lowercase alphanumeric characters or hyphens (a-z, 0-9, -).
    3. Don’t use two consecutive hyphens (--).
    4. Start the name with lowercase alphabet characters (a-z).
    5. End with alphanumeric characters (a-z or 0-9).

When choosing topics, consider if existing topics are relevant. Tagging with existing topics helps users discover your package.

Implementation

static const List<Object> topics = <Object>[];