AnimatedRectangleText constructor

const AnimatedRectangleText({
  1. Key? key,
  2. required String text,
  3. required Color rectangleColor,
  4. required TextStyle textStyle,
  5. Duration duration = const Duration(seconds: 2),
  6. Duration startDelay = Duration.zero,
  7. SketchyAnimationMode animationMode = SketchyAnimationMode.organic,
})

Implementation

const AnimatedRectangleText({
  super.key,
  required this.text,
  required this.rectangleColor,
  required this.textStyle,
  this.duration = const Duration(seconds: 2),
  this.startDelay = Duration.zero,
  this.animationMode = SketchyAnimationMode.organic,
});