showSelectVideoSourceDialog function
Implementation
Future<InsertVideoSource?> showSelectVideoSourceDialog({
required BuildContext context,
}) async {
final imageSource = await showModalBottomSheet<InsertVideoSource>(
showDragHandle: true,
context: context,
constraints: const BoxConstraints(maxWidth: 640),
builder: (context) =>
const FlutterQuillLocalizationsWidget(child: SelectVideoSourceDialog()),
);
return imageSource;
}