You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, all! I'm very new to the flutter / dart world but I'm a big fan.
In my early days of this journey I'm starting to feel that using the "trust me" ! operator can be abused by lazy engineers and goes against the entire reason for null safety in the first place. I'm sure there are times when it can't be avoided (?) but in those cases, I'd rather write an ignore: to the line to call it out.
Hello, all! I'm very new to the flutter / dart world but I'm a big fan.
In my early days of this journey I'm starting to feel that using the "trust me"
!
operator can be abused by lazy engineers and goes against the entire reason for null safety in the first place. I'm sure there are times when it can't be avoided (?) but in those cases, I'd rather write anignore:
to the line to call it out.I've researched this and found https://dcm.dev/docs/rules/common/avoid-non-null-assertion/ but couldn't find any linter in core dart/flutter linter that can do this. Am I missing something?
Thanks all for the great community!
The text was updated successfully, but these errors were encountered: