Skip to content
pubscout

flutter_bbcode

1.5.1, released 2 years ago by mstruijk.nl

Widget that renders BBCode strings into styled Flutter text

WASM-ready
$ flutter pub add flutter_bbcode
Source repository

What it does

It parses BBCode markup and displays it as Flutter text widgets. Custom tags and styles can be added via a stylesheet.

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

Use it when

  • You need to display BBCode formatted text in a Flutter app
  • You want to support custom BBCode tags or styles
  • You want selectable text with accessibility support

Skip it when

  • You need to parse other markup languages like Markdown or HTML
  • You require complex layout or interactive widgets beyond text

Strengths

  • Easy to integrate, single widget API
  • Supports custom tags and styles via BBStylesheet
  • Selectable text and accessibility improvements
  • Cross‑platform support (Android, iOS, web, desktop)

Weaknesses

  • Limited to BBCode syntax only
  • No built‑in support for other markup or rich media beyond images
  • Requires manual tag definitions for custom behavior

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
Widget parsedBBCode = BBCodeText(data: _yourString);

Alternatives

Packages that do the same job and could replace flutter_bbcode.