v1.0.0stroke_text
テキストウィジェットにストローク(ボーダー)スタイルを適用するためのシンプルなFlutterプラグイン
41いいね 210030日間ダウンロード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