stroke_text 0.0.2 copy "stroke_text: ^0.0.2" to clipboard
stroke_text: ^0.0.2 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
  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 #

28
likes
140
pub points
95%
popularity

Publisher

verified publishermohamed-abdo.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on stroke_text