ZegoLiveStreamingStartLiveButtonBuilder typedef

ZegoLiveStreamingStartLiveButtonBuilder = Widget Function(BuildContext context, VoidCallback startLive)

A callback function for customizing the start live button It should return a Widget that represents the custom start live button.

Implementation

typedef ZegoLiveStreamingStartLiveButtonBuilder = Widget Function(
  BuildContext context,

  /// **must be called** to transition from the preview page to the live page
  VoidCallback startLive,
);