required property

bool required
final

Native required, with a visual marker after the label.

Implementation

final bool required;