We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf813b6 commit d1a99e1Copy full SHA for d1a99e1
lib/src/material/widgets/options_dialog.dart
@@ -28,9 +28,7 @@ class _OptionsDialogState extends State<OptionsDialog> {
28
itemCount: widget.options.length,
29
itemBuilder: (context, i) {
30
return ListTile(
31
- onTap: widget.options[i].onTap != null
32
- ? widget.options[i].onTap!
33
- : null,
+ onTap: widget.options[i].onTap,
34
leading: Icon(widget.options[i].iconData),
35
title: Text(widget.options[i].title),
36
subtitle: widget.options[i].subtitle != null
0 commit comments