ChatAnimatedButton constructor

const ChatAnimatedButton({
  1. Key? key,
  2. required int duration,
  3. dynamic rightPosition,
  4. required bool isRecording,
  5. required bool isText,
  6. Widget? animatedButtonWidget,
  7. required dynamic onAnimatedButtonTap(),
  8. required dynamic onAnimatedButtonLongPress(),
  9. required dynamic onAnimatedButtonLongPressMoveUpdate(
    1. LongPressMoveUpdateDetails
    ),
  10. required dynamic onAnimatedButtonLongPressEnd(
    1. LongPressEndDetails details
    ),
  11. BorderRadiusGeometry? borderRadius,
  12. required IconData sendTextIcon,
})

Implementation

const ChatAnimatedButton(
    {super.key,
    required this.duration,
    this.rightPosition,
    required this.isRecording,
    required this.isText,
    this.animatedButtonWidget,
    required this.onAnimatedButtonTap,
    required this.onAnimatedButtonLongPress,
    required this.onAnimatedButtonLongPressMoveUpdate,
    required this.onAnimatedButtonLongPressEnd,
    this.borderRadius,
    required this.sendTextIcon});