expanded property
bool
get
expanded
Implementation
bool get expanded => _expanded;
set
expanded
(bool e)
Implementation
set expanded(bool e) {
if (e == _expanded) return;
if (!e && scrol.hasClients) {
scrol.animateTo(0,
duration: TopResources.of(context).globalDuration,
curve: Curves.linear);
}
setState(() => _expanded = e);
updateItems();
}