isRequired property
Whether the form field is marked as required (PDF field flag Ff bit 2).
The value is read from the native document and is read-only: changing it
is not supported, and it is ignored when the widget is written back.
Viewers do not enforce it, so apps should check required fields
themselves before submitting a form. It defaults to false when the
flag is absent or cannot be read. Push buttons may carry the flag, but
it has no practical meaning for them.
Since: 3.2.1
Implementation
final bool isRequired;