Skip to content
pubscout

bordered_text

3.0.2, released 7 months ago by tewshi.dev

Flutter plugin for applying subtle stroke to a Text widget.

WASM-ready
$ flutter pub add bordered_text
Source repository

What it does

Adds a stroke or border to a standard Flutter Text widget. It wraps the text widget to provide customizable stroke widths and colors.

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

Use it when

  • You need to display text with an outline or stroke effect
  • You want a single-purpose widget for text borders

Skip it when

  • You require advanced text formatting that is not supported by standard Text widgets
  • You do not need text strokes

Strengths

  • Simple API wrapping standard Text widgets
  • Supports multiple platforms including Android, iOS, and Web

Weaknesses

  • Limited to applying strokes on text widgets

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

BorderedText(
  strokeWidth: 1.0,
  child: Text(
    'Bordered Text Widget',
    style: TextStyle(
      decoration: TextDecoration.none,
      decorationColor: Colors.red,
    ),
  ),
)

Alternatives

Packages that do the same job and could replace bordered_text.