stroke_gradient_text 1.1.2 copy "stroke_gradient_text: ^1.1.2" to clipboard
stroke_gradient_text: ^1.1.2 copied to clipboard

This is a component that supports both text borders and text gradients

Preview

How to use

Import

import 'package:stroke_gradient_text/stroke_gradient_text.dart';

Example

import 'package:flutter/material.dart';
import 'package:stroke_gradient_text/stroke_gradient_text.dart';

class Example extends StatelessWidget {
  const Example({super.key});

  @override
  Widget build(BuildContext context) => StrokeAndGradientText(
        strokeColor: Colors.red,
        strokeWidth: 2,
        gradient: LinearGradient(colors: [Colors.green, Colors.white]),
        child: Text("data"),
      );
}
1
likes
115
points
55
downloads

Publisher

unverified uploader

Weekly Downloads

This is a component that supports both text borders and text gradients

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on stroke_gradient_text