bordered_text 1.0.0 copy "bordered_text: ^1.0.0" to clipboard
bordered_text: ^1.0.0 copied to clipboard

outdated

Flutter plugin for applying subtle stroke to a Text widget. Supports Android and iOS.

BorderedText #

Build Status

Adds Stroke to a Flutter Text widget

Getting Started #

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,
              ),
            ),
          ),
        ),
      ),
    );
  }
}
133
likes
0
pub points
96%
popularity

Publisher

unverified uploader

Flutter plugin for applying subtle stroke to a Text widget. Supports Android and iOS.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on bordered_text