v3.0.2bordered_text
Flutter plugin for applying subtle stroke to a Text widget. Supports Android, iOS, and Web.
154Likes 4K30-day downloads160Pub points
AndroidiOSWebmacOSWindowsLinux
Adds Stroke to a Flutter Text widget
{"sdk":"flutter"}{"sdk":"flutter"}^6.0.0English project snapshot. Visit GitHub for the latest content.
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
Check the installation guide for how to install this plugin
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,
),
),
),
),
),
);
}
}