stroke_text 1.0.0 copy "stroke_text: ^1.0.0" to clipboard
stroke_text: ^1.0.0 copied to clipboard

A Simple Flutter plugin for applying stroke (border) style to a text widget

Stroke Text Widget #

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

Installation #

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

Usage #

default text widget

StrokeText(text: "Stroke Text",)
copied to clipboard

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,
),
copied to clipboard

Screenshots #

33
likes
130
points
7.46k
downloads

Publisher

verified publishermohamed-abdo.com

Weekly Downloads

2024.09.28 - 2025.04.12

A Simple Flutter plugin for applying stroke (border) style to a text widget

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on stroke_text