required property

bool required
final

Whether the field must be filled.

Implementation

final bool required;