v1.0.0stroke_text
A Simple Flutter plugin for applying stroke (border) style to a text widget
41Likes 2.1K30-day downloads130Pub points
AndroidiOSWebmacOSWindowsLinux
A simple flutter package to add stroke (border) style to a text widget
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0English project snapshot. Visit GitHub for the latest content.
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