bordered_text

Creator: coderz1093

Last updated:

0 purchases

bordered_text Image
bordered_text Images

Languages

Categories

Add to Cart

Description:

bordered text

BorderedText #

Adds Stroke to a Flutter Text widget






Getting Started #
We can apply a very thin and subtle stroke to a [Text] #
import 'package:bordered_text/bordered_text.dart';

class StrokeTester extends StatelessWidget {

const StrokeTester({Key key}) : super(key: key);

@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Bordered Text test',
home: Scaffold(
appBar: AppBar(
title: Text('Bordered Text'),
),
body: Center(
child: BorderedText(
strokeWidth: 1.0,
child: Text(
'Bordered Text Widget',
style: TextStyle(
decoration: TextDecoration.none,
decorationColor: Colors.red,
),
),
),
),
),
);
}
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.