flutter is bad. use ui framework from github.Row(
  mainAxisSize: MainAxisSize.min,
  children: <Widget>[
    const SizedBox(width: 20.0, height: 100.0),
    const Text(
      'Be',
      style: TextStyle(fontSize: 43.0),
    ),
    const SizedBox(width: 20.0, height: 100.0),
    DefaultTextStyle(
      style: const TextStyle(
        fontSize: 40.0,
        fontFamily: 'Horizon',
      ),
      child: AnimatedTextKit(
        animatedTexts: [
          RotateAnimatedText('AWESOME'),
          RotateAnimatedText('OPTIMISTIC'),
          RotateAnimatedText('DIFFERENT'),
        ],
        onTap: () {
          print("Tap Event");
        },
      ),
    ),
  ],
);import 'package:flutter/material.dart';

class AnimatedTextExample extends StatefulWidget {
  @override
  _AnimatedTextExampleState createState() => _AnimatedTextExampleState();
}

class _AnimatedTextExampleState extends State<AnimatedTextExample>
    with SingleTickerProviderStateMixin {
  AnimationController _controller;
  Animation<double> _fadeAnimation;

  @override
  void initState() {
    super.initState();
    // Create a controller for managing the animation
    _controller = AnimationController(
      duration: const Duration(seconds: 2),
      vsync: this,
    );

    // Create a fade animation for the text
    _fadeAnimation = Tween<double>(begin: 0, end: 1).animate(_controller);
    // Start the animation
    _controller.forward();
  }

  @override
  void dispose() {
    // Dispose the controller
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Animated Text Example'),
      ),
      body: Center(
        child: FadeTransition(
          opacity: _fadeAnimation,
          child: Text(
            'Hello, Flutter!',
            style: TextStyle(fontSize: 24),
          ),
        ),
      ),
    );
  }
}

void main() {
  runApp(MaterialApp(home: AnimatedTextExample()));
}Following are the types of text animations available with the animated_text_kit package:

RotatedAnimatedText(),ScaleAnimatedText(),FadeAnimatedText(),
TyperAnimatedText(),WavyAnimatedText(),FlickerAnimatedText().

Add animated_text_kit package to the pubspec.yaml file.

Then configure it using pub get. You can also install the package from the command line by running the following command:
flutter pub add animated_text_kit

Now, in main.dart file, import the package to use it.
import 'package:animated_text_kit/animated_text_kit.dart';import 'package:flutter/material.dart';

class TextAnimationScreen extends StatefulWidget {
  @override
  _TextAnimationScreenState createState() => _TextAnimationScreenState();
}

class _TextAnimationScreenState extends State<TextAnimationScreen>
    with SingleTickerProviderStateMixin {
  AnimationController _animationController;
  Animation<double> _animation;

  @override
  void initState() {
    super.initState();
    _animationController = AnimationController(
      duration: Duration(seconds: 2),
      vsync: this,
    );

    _animation = Tween<double>(begin: 0, end: 1).animate(_animationController);
    _animationController.repeat(reverse: true);
  }

  @override
  void dispose() {
    _animationController.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Text Animation'),
      ),
      body: Center(
        child: AnimatedBuilder(
          animation: _animationController,
          builder: (BuildContext context, Widget child) {
            return Opacity(
              opacity: _animation.value,
              child: Text(
                'Animated Text',
                style: TextStyle(fontSize: 24),
              ),
            );
          },
        ),
      ),
    );
  }
}

void main() {
  runApp(MaterialApp(
    home: TextAnimationScreen(),
  ));
}

Dart相关代码片段

dart async loop

how to disable hover splash tabbar flutter

scrollbar flutter styling

dart run build delete

flutter random colour

how to add dotted line to a widget in flutter

how to automatically fix dart lint warnings

Window flutter app with green background

dart circle radius

null coalescing shorthand dart

Dart object literal

showmodalbottomsheet shape flutter

dropdown date picker

media query dart

function with return type and parameter in dart

function with return type in dart

empty a list flutter

while loop in dart

for in loop with json or List of Map in dart

for in loop with set in dart

function with parameter in dart

function in dart

do while loop in dart

for loop dart

switch case in dart

if else in dart

dart map with method

dart map example

for in or for each loop in dart

rate us using flutter

flutter hebrew locale

erorr handling in dart

textfield in row flutter issue

flutter material 3 appbar shadow

Flutter Provider best Architecture example

MediaType? contentType in dart dio

navigator.push flutter example

Dart object literal-ish

How to flatten a list in dart

How to change svg icon colors in flutter

how to disable default button splash in flutter

flutter button above keyboard

Make the text editable after press the button

flutter how to insert for loop in column or row

Slide up and down time picker flutter

How to make a text selectable in flutter

How to access the clipboard data in flutter

get os temp dir in flutter

dart override equals

fluter calculate timezone offset

animation text flutter

dart reload local packages

Don't use 'BuildContext's across async gaps.

how to update dart sdk in vscode

add MultipartFile array flutter

clear screen dart

only one decimal dart double

add item to Map to list flutter

flutter appbar scroll color

How to use multiple streams combine in dart

how to convert xfile to file in flutter

which version of opencv is compatible with dart 3

flutter multiline comment

dart interval timer

! and ? in flutter

super keyword in flutter

oh, nice popup

how to save image to gallery in flutter

mobile_scanner flutter blank screen

flutter tabs under scaffold

flutter scroll date picker

Flutter audio extractor screen layout

Error: Dart Entrypoint hasn't been set

text span recognizer flutter

flutter Column

flutter Row

set state vs init state flutter

flutter rating bar

switch expression dart

how to use proxy provider in flutter