selectAttachmentOnTap method
- dynamic ref,
- dynamic context,
- dynamic attachmentType
Implementation
Future<void> selectAttachmentOnTap(
WidgetRef ref,
BuildContext context,
AttachmentType attachmentType,
) async {
await selectAttachment(L10n.of(context), ref, attachmentType);
if (isBottomSheetOpen && context.mounted) {
Navigator.pop(context);
}
}