v3.0.2bordered_text
用於向 Text 小部件應用細微描邊的 Flutter 外掛程式。支援 Android、iOS 和 Web。
154喜歡 4000近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
為 Flutter Text 小部件添加描邊
{"sdk":"flutter"}{"sdk":"flutter"}^6.0.0以下為英文專案原文快照,最新內容請造訪 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,
),
),
),
),
),
);
}
}