BsCollapse constructor

const BsCollapse({
  1. Key? key,
  2. required bool isExpanded,
  3. required Widget child,
  4. bool horizontal = false,
  5. Duration duration = const Duration(milliseconds: 350),
  6. Curve curve = Curves.easeInOut,
})

Creates a BsCollapse.

Implementation

const BsCollapse({
  super.key,
  required this.isExpanded,
  required this.child,
  this.horizontal = false,
  this.duration = const Duration(milliseconds: 350),
  this.curve = Curves.easeInOut,
});