typing_text_animation 0.1.0 copy "typing_text_animation: ^0.1.0" to clipboard
typing_text_animation: ^0.1.0 copied to clipboard

This package creates a Typing Text Animation

Typing Text Animation #

alt text

Features #

This widget displays text with a typewriter-like animation effect, where characters appear one by one.

Getting started #

TODO: List prerequisites and provide or point to information on how to start using the package.

Usage #

  1. Import the package
import 'package:typing_text/typing_text.dart';
  1. Use the TypingTextAnimation widget in your build method:
TypingTextAnimation(
  texts: ["Hello", "World!"],
  textStyle: TextStyle(color: Colors.black, fontSize: 16.0),
  showCursor: true, // Optional, defaults to true
),

Additional information #

Properties: texts: A list of strings to be displayed sequentially with animation. textStyle: The style applied to the displayed text. showCursor: A boolean to control whether to show an underscore cursor at the end of the typing animation (defaults to true).

Code Snippet #

Here's a basic example of using the widget:

Scaffold(
    body: Center(
        child: Row(
        children: [
            Text("I am a ", style: TextStyle(fontSize: 20, fontWeight: FontWeight.w300)),
            TypingTextAnimation(
            texts: ["Flutter Developer", "Dart Lover"],
            textStyle: TextStyle(fontSize: 20.0,fontWeight: FontWeight.bold))
        ]),
    ),
),

This code displays the two provided strings with a typing animation effect and a cursor at the end.

11
likes
140
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

This package creates a Typing Text Animation

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on typing_text_animation