dialog method

Widget dialog(
  1. BuildContext context
)

Override this method to provide a custom stream settings dialog. Returns DiveStreamSettingsDialog.

Implementation

Widget dialog(BuildContext context) {
  return DiveStreamSettingsDialog(
      service: elements!.state.streamingOutput == null ? null : elements!.state.streamingOutput!.service,
      server: elements!.state.streamingOutput == null ? null : elements!.state.streamingOutput!.server,
      serviceKey:
          elements!.state.streamingOutput == null ? null : elements!.state.streamingOutput!.serviceKey,
      onApplyCallback: onApply);
}