isHovered property
bool
get
isHovered
Implementation
bool get isHovered => _isHovered;
set
isHovered
(bool value)
Implementation
set isHovered(bool value) {
if (hoverDirection == CardActionAxis.bottom) {
_isHovered = value;
if (value) _height = _height + 50;
if (!value) _height = _height - 50;
}
if (hoverDirection == CardActionAxis.right) {
_isHovered = value;
if (value) width = width + 50;
if (!value) width = width - 50;
}
notifyListeners();
}