SocialMediaRecorder constructor
const
SocialMediaRecorder({
- Widget? sendButtonIcon,
- double initRecordPackageWidth = 40,
- double fullRecordPackageHeight = 50,
- int? maxRecordTimeInSecond,
- String? storeSoundRecoringPath = "",
- required dynamic sendRequestFunction(),
- dynamic startRecording()?,
- dynamic stopRecording(
- String time
- Widget? recordIcon,
- Widget? lockButton,
- Color? counterBackGroundColor,
- Widget? recordIconWhenLockedRecord,
- Color? recordIconBackGroundColor = Colors.blue,
- Color? recordIconWhenLockBackGroundColor = Colors.blue,
- Color? backGroundColor,
- TextStyle? cancelTextStyle,
- TextStyle? counterTextStyle,
- TextStyle? slideToCancelTextStyle,
- String? slideToCancelText = " Slide to Cancel >",
- String? cancelText = "Cancel",
- AudioEncoderType encode = AudioEncoderType.AAC,
- Color? cancelTextBackGroundColor,
- BorderRadius? radius,
- Key? key,
Implementation
const SocialMediaRecorder({
this.sendButtonIcon,
this.initRecordPackageWidth = 40,
this.fullRecordPackageHeight = 50,
this.maxRecordTimeInSecond,
this.storeSoundRecoringPath = "",
required this.sendRequestFunction,
this.startRecording,
this.stopRecording,
this.recordIcon,
this.lockButton,
this.counterBackGroundColor,
this.recordIconWhenLockedRecord,
this.recordIconBackGroundColor = Colors.blue,
this.recordIconWhenLockBackGroundColor = Colors.blue,
this.backGroundColor,
this.cancelTextStyle,
this.counterTextStyle,
this.slideToCancelTextStyle,
this.slideToCancelText = " Slide to Cancel >",
this.cancelText = "Cancel",
this.encode = AudioEncoderType.AAC,
this.cancelTextBackGroundColor,
this.radius,
Key? key,
}) : super(key: key);