shadow_text 0.0.2 copy "shadow_text: ^0.0.2" to clipboard
shadow_text: ^0.0.2 copied to clipboard

A custom offset shaded text

shadow_text #

A custom offset shaded text

example #

ShadowText(
          text: 'Shadow Text',
          textColor: Colors.pink,
          shadowColor: Colors.blue,
          xTans: 12.0,
          yTans: 12.0,
          opacity: 0.2,
          shadeBuilder: (BuildContext context, String text, Color color) =>
              Container(
                child: Text(
                  text,
                  style: TextStyle(color: color,fontSize: 28.0),
                ),
              ),
        )

effect #

效果图

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1
likes
30
pub points
34%
popularity

Publisher

unverified uploader

A custom offset shaded text

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on shadow_text