FLUTTER ECOSYSTEM

androideen/blinking_text

एक सरल प्लगइन जो ब्लिंकिंग टेक्स्ट विजेट बनाने के लिए है

ब्लिंकिंग टेक्स्ट प्रोजेक्ट कवर
Stars
1
Forks
1
अंतिम पुश (UTC)
30 मार्च 2022
प्रोजेक्ट स्थिति
सक्रिय
androideen GitHub avatar
GITHUB User

androideen ↗

भाषाएँDart

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 2 आइटम
  • flutter{"sdk":"flutter"}
  • flutter_testडेवलपमेंट{"sdk":"flutter"}

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

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

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,
	duration: Duration(seconds: 1)
),

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