AnimatedTextMessage constructor

const AnimatedTextMessage({
  1. Key? key,
  2. required String text,
  3. TextStyle? style,
  4. bool animate = false,
  5. required bool isUser,
  6. bool isStreaming = false,
  7. Widget textBuilder(
    1. String text,
    2. TextStyle? style
    )?,
})

Implementation

const AnimatedTextMessage({
  super.key,
  required this.text,
  this.style,
  this.animate = false,
  required this.isUser,
  this.isStreaming = false,
  this.textBuilder,
});