SidebarItemGroupAnimate constructor
const
SidebarItemGroupAnimate({})
Creates a SidebarItemGroupAnimate widget.
The child
parameter must not be null. The collapsed
parameter
determines the initial state of the animation, and defaults to false.
The animationDuration
parameter specifies the duration of the animation
and defaults to 200 milliseconds.
Implementation
const SidebarItemGroupAnimate({
super.key,
required this.child,
this.collapsed = false,
this.animationDuration = const Duration(milliseconds: 200),
});