FastExpansionPanel constructor

const FastExpansionPanel({
  1. Key? key,
  2. required WidgetBuilder bodyBuilder,
  3. Duration animationDuration = const Duration(milliseconds: 300),
  4. String? titleText,
  5. bool isExpanded = false,
  6. bool isEnabled = true,
  7. Color? titleTextColor,
  8. Widget? headerIcon,
  9. GestureTapCallback? onTap,
})

Implementation

const FastExpansionPanel({
  super.key,
  required this.bodyBuilder,
  this.animationDuration = const Duration(milliseconds: 300),
  this.titleText,
  this.isExpanded = false,
  this.isEnabled = true,
  this.titleTextColor,
  this.headerIcon,
  this.onTap,
});