show static method
Future<void>
show(
- BuildContext context, {
- required NmCopilotController controller,
- String? title,
- ValueChanged<
Set< ? onHighlight,String> > - ValueChanged<
List< ? onSelectAll,String> > - VoidCallback? onVoice,
Shows the sheet.
Implementation
static Future<void> show(
BuildContext context, {
required NmCopilotController controller,
String? title,
ValueChanged<Set<String>>? onHighlight,
ValueChanged<List<String>>? onSelectAll,
VoidCallback? onVoice,
}) => showModalBottomSheet<void>(
context: context,
isScrollControlled: true,
backgroundColor: Colors.transparent,
builder: (_) => NmCopilotSheet(controller: controller, title: title, onHighlight: onHighlight, onSelectAll: onSelectAll, onVoice: onVoice),
);