form property Null safety

FormState? form

Shortcut for Form.of(context).

Implementation

FormState? get form => Form.of(this);