v1.0.0stroke_text
一個簡單的 Flutter 插件,用於為文字小部件應用描邊(邊框)樣式
41喜歡 2100近 30 天下載130Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個簡單的 Flutter 套件,用於為文字組件添加描邊(邊框)樣式
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0以下為英文專案原文快照,最新內容請造訪 GitHub。
A simple flutter package to add stroke (border) style to a text widget
https://raw.githubusercontent.com/MohamedAbd0/stroke_text/HEAD/images/logo.png
pubspec.yaml file:dependencies:
stroke_text: any
$ pub get
color.dart file in your appimport 'package:stroke_text/stroke_text.dart';
default text widget
StrokeText(text: "Stroke Text",)
custom text style
StrokeText(
text: "Stroke Text",
textStyle: TextStyle(
fontSize: 50
),
),
StrokeText(
text: "Flutter",
textStyle: TextStyle(
fontSize: 50,
color: Colors.green
),
strokeColor: Colors.amber,
strokeWidth: 5,
),
https://raw.githubusercontent.com/MohamedAbd0/stroke_text/HEAD/images/Simulator.png