0 purchases
stroke text
Stroke Text Widget #
A simple flutter package to add stroke (border) style to a text widget
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
stroke_text: any
copied to clipboard
Get the package using your IDE's GUI or via command line with
$ pub get
copied to clipboard
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 #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.