79114754

Date: 2024-10-22 15:15:38
Score: 0.5
Natty:
Report link

just add null aware (??) condition to handle the case when formKey is null.

(formkey.currentState.validate() ?? false)
                      ? const SizedBox()
                      : Container()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Vivek Chib