FLUTTER ECOSYSTEM

tewshi/bordered-text

Adiciona traço a um widget Text do Flutter

Capa do projeto texto com borda
Stars
22
Forks
10
Último push (UTC)
29 de jun. de 2026
Status do projeto
Ativo
Joseph Ojoko GitHub avatar
GITHUB User

Joseph Ojoko ↗

Software Engineer

Berlin, GermanySite oficial ↗
LinguagensC++CMakeDartSwiftCHTMLKotlinObjective-C

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}
  • flutter_lintsDesenvolvimento^6.0.0

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

BorderedText

Build Status

pub package

Adds Stroke to a Flutter Text widget

https://github.com/tewshi/bordered-text/blob/master/screenshots/sample2.png?raw=true

https://github.com/tewshi/bordered-text/blob/master/screenshots/sample.png?raw=true

Getting Started

Check the installation guide for how to install this plugin

Usage

We can apply a very thin and subtle stroke to a [Text]
import 'package:bordered_text/bordered_text.dart';

class StrokeTester extends StatelessWidget {

  const StrokeTester({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Bordered Text test',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Bordered Text'),
        ),
        body: Center(
          child: BorderedText(
            strokeWidth: 1.0,
            child: Text(
              'Bordered Text Widget',
              style: TextStyle(
                decoration: TextDecoration.none,
                decorationColor: Colors.red,
              ),
            ),
          ),
        ),
      ),
    );
  }
}