isError property

bool isError

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.

Must not be null. Defaults to false.


final bool isError;