error property

String? error
final

Marks the checkbox invalid and shows the message under it.

Implementation

final String? error;