v3.0.2bordered_text
Flutter-Plugin zum Anwenden eines subtilen Strichs auf ein Text-Widget. Unterstützt Android, iOS und Web.
154Likes 400030-Tage-Downloads160Pub-Punkte
AndroidiOSWebmacOSWindowsLinux
Fügt einem Flutter-Text-Widget eine Umrandung hinzu
{"sdk":"flutter"}{"sdk":"flutter"}^6.0.0Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
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,
),
),
),
),
),
);
}
}