ChatAnimatedButton constructor
const
ChatAnimatedButton({
- Key? key,
- required int duration,
- dynamic rightPosition,
- required bool isRecording,
- required bool isText,
- Widget? animatedButtonWidget,
- required dynamic onAnimatedButtonTap(),
- required dynamic onAnimatedButtonLongPress(),
- required dynamic onAnimatedButtonLongPressMoveUpdate(),
- required dynamic onAnimatedButtonLongPressEnd(
- LongPressEndDetails details
- BorderRadiusGeometry? borderRadius,
- 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});