SidebarItemGroupAnimate constructor

const SidebarItemGroupAnimate({
  1. Key? key,
  2. required Widget child,
  3. bool collapsed = false,
  4. Duration animationDuration = const Duration(milliseconds: 200),
})

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),
});