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. required AgentConfigs agentDetails,
})

Implementation

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