Skip to content

Commit d1a99e1

Browse files
fix: lint issue
1 parent bf813b6 commit d1a99e1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/src/material/widgets/options_dialog.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ class _OptionsDialogState extends State<OptionsDialog> {
2828
itemCount: widget.options.length,
2929
itemBuilder: (context, i) {
3030
return ListTile(
31-
onTap: widget.options[i].onTap != null
32-
? widget.options[i].onTap!
33-
: null,
31+
onTap: widget.options[i].onTap,
3432
leading: Icon(widget.options[i].iconData),
3533
title: Text(widget.options[i].title),
3634
subtitle: widget.options[i].subtitle != null

0 commit comments

Comments
 (0)