mediaDialog method

  1. @override
Future mediaDialog(
  1. BuildContext context, {
  2. required String title,
  3. 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),
  );
}