show static method

Future<void> show({
  1. required BuildContext context,
  2. required String title,
  3. required Widget content,
  4. List<Widget>? actions,
})

Shows the detail sheet.

Implementation

static Future<void> show({
  required BuildContext context,
  required String title,
  required Widget content,
  List<Widget>? actions,
}) {
  final theme = context.debugPanelTheme;

  return showModalBottomSheet(
    context: context,
    backgroundColor: theme.surfaceColor,
    isScrollControlled: true,
    useSafeArea: true,
    builder: (context) => DebugDetailSheet(
      title: title,
      content: content,
      actions: actions,
    ),
  );
}