v1.0.0stroke_text
一個簡單的 Flutter 插件,用於為文字小部件應用描邊(邊框)樣式
41喜歡 2290近 30 天下載130Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個簡單的 Flutter 套件,用於為文字組件添加描邊(邊框)樣式
以下為英文專案原文快照,最新內容請造訪 GitHub。
A simple flutter package to add stroke (border) style to a text widget
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,
),
依賴清單 3 項
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗