CustomComponentHaiva constructor

const CustomComponentHaiva({
  1. required dynamic payload,
  2. required dynamic onButtonPressed(
    1. String,
    2. bool
    ),
  3. required dynamic onFormSubmit(
    1. Map<String, dynamic>
    ),
  4. required bool stopSpeaking,
  5. Key? key,
  6. String? locale,
  7. required bool speakerOff,
  8. AgentConfigs? agentDetails,
  9. required bool isSpeaking,
})

Implementation

const CustomComponentHaiva({
  required this.payload,
  required this.onButtonPressed,
  required this.onFormSubmit,
  required  this.stopSpeaking,
  Key? key,
  this.locale, required bool speakerOff, this.agentDetails,
  required this.isSpeaking,
}) : super(key: key);