mediaDialog method
Future
mediaDialog(
- BuildContext context, {
- required String title,
- PlatformMediaType type = PlatformMediaType.all,
override
Display the media dialog and get the data.
You can limit the media type by specifying mediaType
.
Implementation
@override
Future<dynamic> mediaDialog(
BuildContext context, {
required String title,
PlatformMediaType type = PlatformMediaType.all,
}) {
return UIMediaDialog.show(
context,
title: title,
type: _convertMediaType(type),
);
}