AgShakeText constructor

const AgShakeText({
  1. Key? key,
  2. required String text,
  3. TextStyle? style,
  4. Duration duration = const Duration(milliseconds: 500),
  5. double shakeOffset = 6,
  6. Axis axis = Axis.horizontal,
  7. bool autoStart = true,
})

Creates a AgShakeText widget

Implementation

const AgShakeText({super.key, required this.text, this.style, this.duration = const Duration(milliseconds: 500), this.shakeOffset = 6, this.axis = Axis.horizontal, this.autoStart = true});