blinking_text 0.0.4+1 copy "blinking_text: ^0.0.4+1" to clipboard
blinking_text: ^0.0.4+1 copied to clipboard

outdated

A simple plugin to create 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 as same as Text widget's and includes 4 others for animation

  • beginColor: it can overrides style'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 from original color to orange indefinitely

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

Blink text from black to orange 10 times

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

Original Link: https://tltemplates.com/blinking_text/

31
likes
30
pub points
95%
popularity

Publisher

unverified uploader

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

Homepage
Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on blinking_text