Skip to content
pubscout

simple_tags

0.0.6, released 4 years ago by about.gorala.icu

A simple Flutter widget to display customizable string-based tags inside a wrap.

WASM-ready
$ flutter pub add simple_tags
Source repository

What it does

Display text-based tags in a wrapping layout. Allows full customization of both the tag text and container styling, along with support for tap, double tap, and long press callbacks.

AI-written summary of version 0.0.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display a list of string-based tags inside a wrapping layout.
  • You want to easily customize tag containers, text styles, and icons.

Skip it when

  • You require complex form inputs or tag-selection state management out of the box.

Strengths

  • Simple and straightforward to integrate.
  • Supports customizable styling for containers, text, and icons.
  • Provides callback handlers for press, long press, and double tap events.

Weaknesses

  • Limited feature set beyond basic tag display and styling.
  • Does not include built-in tag selection or deletion state management.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
SimpleTags(
  content: ['Apple', 'Banana', 'Orange'],
  wrapSpacing: 4,
  wrapRunSpacing: 4,
  onTagPress: (tag) {print('pressed $tag');},
)

Alternatives

Packages that do the same job and could replace simple_tags.

  • uiblock

    Easily block or unblock the UI with loading states in Flutter apps.

  • re_editor

    A lightweight text and code editor widget for Flutter with syntax highlighting and folding.

  • flutter_earth_globe

    An interactive and fully customizable 3D Globe widget written in pure Dart.

  • sheet

    A fully customizable draggable bottom sheet for Flutter.