shadow_text 0.0.2
shadow_text: ^0.0.2

Flutter Android iOS web

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
80
pub points
41%
popularity

A custom offset shaded text

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

talejeffery@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on shadow_text