bool get pressed => states.contains(ComponentState.pressed);
set pressed(bool value) => _updateState(ComponentState.pressed, value);