isError property
final
True if this checkbox wants to show an error state.
The checkbox will have different default container color and check color when this is true. This is only used when ThemeData.useMaterial3 is set to true.
Defaults to false.
Implementation
final bool isError;