showShareSheetForAllAppLogs function

void showShareSheetForAllAppLogs(
  1. BuildContext context,
  2. List<AppLogEntry> entries
)

Shows a bottom sheet with share options for entries (e.g. the full current Logs tab, filtered or not).

Implementation

void showShareSheetForAllAppLogs(
  BuildContext context,
  List<AppLogEntry> entries,
) {
  _showSheet(context, [
    _Option(
      icon: Icons.article_outlined,
      label: 'Share All as Text',
      subtitle: '${entries.length} log(s)',
      onTap: () => _share(_toFullTextAllAppLogs(entries), 'App Logs'),
    ),
  ]);
}