show static method
Future<void>
show({
- required BuildContext context,
- required String title,
- required Widget content,
- 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,
),
);
}