FLUTTER ECOSYSTEM

MohamedAbd0/stroke_text

テキストウィジェットにストローク(ボーダー)スタイルを追加するためのシンプルなFlutterパッケージ

stroke_text のプロジェクト画像
Stars
1
Forks
2
最終プッシュ(UTC)
2025/01/14
プロジェクト状態
公開中
 Mohamed Abdo Elnashar GitHub avatar
GITHUB User

Mohamed Abdo Elnashar ↗

Senior Flutter Developer I am a software engineer with 7+ years of experience, interested in mobile applications for more than 6 years, studying for a master's

Dscale.ioDubai, UAE
言語C++CMakeDartHTMLCShellSwiftKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^1.0.0

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

Stroke Text Widget

A simple flutter package to add stroke (border) style to a text widget

https://raw.githubusercontent.com/MohamedAbd0/stroke_text/HEAD/images/logo.png

Installation

  1. Add this to your package's pubspec.yaml file:
dependencies:
  stroke_text: any
  1. Get the package using your IDE's GUI or via command line with
$ pub get
  1. Import the color.dart file in your app
import 'package:stroke_text/stroke_text.dart';

Usage

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,
),

Screenshots

https://raw.githubusercontent.com/MohamedAbd0/stroke_text/HEAD/images/Simulator.png