FLUTTER ECOSYSTEM

MohamedAbd0/stroke_text

Ein einfaches Flutter-Paket, um einem Textwidget einen Strich (Rand)-Stil hinzuzufügen

Projektcover von stroke_text
Stars
1
Forks
2
Letzter Push (UTC)
14.01.2025
Projektstatus
Aktiv
 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
SprachenC++CMakeDartHTMLCShellSwiftKotlinObjective-C

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 3 Einträge
  • flutter{"sdk":"flutter"}
  • flutter_testEntwicklung{"sdk":"flutter"}
  • flutter_lintsEntwicklung^1.0.0

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

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