AnimatedChatRecordButton constructor
const
AnimatedChatRecordButton({
- Key? key,
- RecordButtonConfig config = const RecordButtonConfig(),
- TextEditingController? textEditingController,
- String? recordingOutputPath,
- required dynamic onRecordingEnd(
- File? filePath
- required dynamic onSend(
- String text
- RecordingContainerConfig? recordingContainerConfig,
- dynamic onStartRecording(
- bool doesStartRecording
- dynamic onLockedRecording(
- bool doesStartRecording
- double bottomPosition = 5,
- VoidCallback? onPressCamera,
- VoidCallback? onPressAttachment,
- VoidCallback? onPressEmoji,
- Color? textFormButtonsColor = const Color.fromARGB(255, 116, 116, 116),
- Color arrowColor = Colors.grey,
- Color lockColorFirst = Colors.grey,
- Color lockColorSecond = Colors.black,
Creates an instance of AnimatedChatRecordButton
Implementation
const AnimatedChatRecordButton(
{super.key,
this.config = const RecordButtonConfig(),
this.textEditingController,
this.recordingOutputPath,
required this.onRecordingEnd,
required this.onSend,
this.recordingContainerConfig,
this.onStartRecording,
this.onLockedRecording,
this.bottomPosition = 5,
this.onPressCamera,
this.onPressAttachment,
this.onPressEmoji,
this.textFormButtonsColor = const Color.fromARGB(255, 116, 116, 116),
this.arrowColor = Colors.grey,
this.lockColorFirst = Colors.grey,
this.lockColorSecond = Colors.black});