blinking_text 1.0.4 copy "blinking_text: ^1.0.4" to clipboard
blinking_text: ^1.0.4 copied to clipboard

A simple plugin to creating a blinking text. It allows to adjust duration of a blink and number of times text blinks before stopping.

blinking_text #

A simple plugin to create blinking text

How to use #

Properties: It supports properties of Text widget's and includes 4 more properties for animation

  • beginColor - It overrides widget TextStyle's color.
  • endColor - The color the text will blink to. If there is no endColor defined, opacity 0 is used.
  • times - Number of times text blinks.
  • duration - Interval of blinking animation.

Blink text with opacity

BlinkText('Blink Animation'),

Blink text from original color to orange indefinitely

const BlinkText(
	'Blink Animation',
	style: TextStyle(fontSize: 24.0, color: Colors.redAccent),
	endColor: Colors.orange,
),

Blink text from black to orange 10 times

const BlinkText(
	'Blink Animation',
	style: TextStyle(fontSize: 48.0, color: Colors.redAccent),
	beginColor: Colors.black,
	endColor: Colors.orange,
	times: 10,
	duration: Duration(seconds: 1)
),

Original Link: https://dragoonapps.com/project/blinking-text/

30
likes
140
points
7.74k
downloads

Publisher

unverified uploader

Weekly Downloads

A simple plugin to creating a blinking text. It allows to adjust duration of a blink and number of times text blinks before stopping.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on blinking_text