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,
))
])));