Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit cdfcb16

Browse files
davidmorgannshahan
authored andcommitted
Fix violations of prefer_is_not_empty
PiperOrigin-RevId: 204255881
1 parent 0a6e856 commit cdfcb16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mixins/button_wrapper.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class MaterialButtonWrapper implements HasDisabled {
3838
Icon _buttonIcon;
3939
Icon get buttonIcon {
4040
if (icon != null) return icon;
41-
if (_buttonIcon == null && (iconName != null && !iconName.isEmpty)) {
41+
if (_buttonIcon == null && (iconName != null && iconName.isNotEmpty)) {
4242
_buttonIcon = new Icon(iconName);
4343
}
4444
return _buttonIcon;

0 commit comments

Comments
 (0)