expanded property

bool get expanded

Implementation

bool get expanded => _expanded;
set expanded (bool b)

Implementation

set expanded(bool b) {
  _expanded = b;
  if(_expanded){
    anim?.animateTo(1.0,
      duration: TopResources.of(context).globalDuration,
    );
  }else{
    anim?.animateBack(0,
      duration: TopResources.of(context).globalDuration,
    );
  }
  setState(() {});
}