'I am using the AnimatedTextKit plugin, the problem is the text disappears once display

I am using the AnimatedTextKit plugin, the problem is the text disappears once display.

Once the text appears on the screen it should keep displaying. My code

DefaultTextStyle(
      style: const TextStyle(
        fontSize: 25,
        color: Colors.white,
        shadows: [
          Shadow(
            blurRadius: 7.0,
            color: Colors.white,
            offset: Offset(0, 0),
          ),
        ],
      ),
      child: AnimatedTextKit(
        // pause: Duration(minutes:20),
        totalRepeatCount: 1,
        displayFullTextOnTap: true,
        repeatForever: true,
        isRepeatingAnimation: false,
        animatedTexts: [
          FlickerAnimatedText(
            lable,
            textAlign: TextAlign.center,
          ),
        ],
        onTap: () {
          print("Tap Event");
        },
      ),
    ); 

screenshot:

  • It appears as shown in the image

enter image description here

  • it disappeared like that

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source