openAiChatTest function

Future<void> openAiChatTest(
  1. BuildContext context, {
  2. required SmartLinksAiGateway gateway,
  3. AiStrings? strings,
  4. SmartLinksTheme? theme,
})

Implementation

Future<void> openAiChatTest(
  BuildContext context, {
  required SmartLinksAiGateway gateway,
  AiStrings? strings,
  SmartLinksTheme? theme,
}) {
  return Navigator.of(context).push(
    MaterialPageRoute<void>(
      builder: (context) => AiChatTestPage(
        gateway: gateway,
        strings: strings,
        theme: theme,
      ),
    ),
  );
}