v1.1.0
rich_typewriter
एक विजेट जो नीचे के Text.rich या RichText को टाइपराइटर की तरह एनीमेट करता है।
37लाइक 5630-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
एक विजेट जो नीचे के Text.rich या RichText को टाइपराइटर की तरह एनीमेट करता है।
{"sdk":"flutter"}{"sdk":"flutter"}^3.0.1यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A widget that makes underlying Text.rich or RichText animate like a typewriter.
Preview
I was creating a visual novel engine, so I needed a convenient way to animate RichTexts (with styles and WidgetSpans). Actually there are some packages which do the thing, but they do not work with existent RichTexts and/or do not support WidgetSpans.
In addition, it's also a kind of proof of concept in terms of interaction with the element tree.
RichTypewriter(
child: const Text.rich(TextSpan(text: "some text", children: [
WidgetSpan(
child: FlutterLogo(
size: 100,
))
])));