v0.0.13use_scramble
useScramble से प्रेरित यादृच्छिक पाठ प्रस्तुतियों के लिए हल्का पैकेज
18लाइक 5230-दिन डाउनलोड160Pub अंक
AndroidiOSWebmacOSWindowsLinux
यादृच्छिक पाठ एनीमेशन के लिए पैकेज
{"sdk":"flutter"}{"sdk":"flutter"}^4.0.0यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Use Scramble GIF Demo
Lightweight package for random text animations inspired by useScramble
TextScramble(
text: 'Hello World!',
speed: Duration(milliseconds: 50),
chars: '!<>-_\\/[]{}—=+*^?#________',
correctCharProbability: 0.1, // Correct character probability in [0, 1]
scrambleCycles: 4, // Number of times to scramble the text
builder: (context, scrambledText) {
// Use the builder to define how the text is displayed
return Text(
scrambledText,
textAlign: TextAlign.center, // Text alignment is now within the builder
style: TextStyle( // Text style is now within the builder
fontSize: 40,
color: Colors.green,
fontFamily: 'JetBrainsMono',
),
);
},
),
If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.
Created by Gleb | khlebobul@gmail.com
Support the project: