error property

bool get error

Implementation

bool get error => _states.contains(MaterialState.error);
set error (bool value)

Implementation

set error(bool value) => update(MaterialState.error, value: value);