FastExpansionPanel constructor
const
FastExpansionPanel({
- Key? key,
- required WidgetBuilder bodyBuilder,
- Duration animationDuration = const Duration(milliseconds: 300),
- IconData headerIcon = Icons.expand_more,
- String titleText = kFastPanelText,
- bool isExpanded = false,
- bool isEnabled = true,
- Color? titleTextColor,
- GestureTapCallback? onTap,
Implementation
const FastExpansionPanel({
Key? key,
required this.bodyBuilder,
this.animationDuration = const Duration(milliseconds: 300),
this.headerIcon = Icons.expand_more,
this.titleText = kFastPanelText,
this.isExpanded = false,
this.isEnabled = true,
this.titleTextColor,
this.onTap,
}) : super(key: key);