PlugintestX constructor

const PlugintestX({
  1. Key? key,
  2. required PlugintestXController controller,
  3. List<plugintestXItem> items = const [],
  4. List<plugintestXItem> footerItems = const [],
  5. plugintestTheme theme = const plugintestTheme(),
  6. plugintestTheme? extendedTheme,
  7. plugintestXBuilder? headerBuilder,
  8. plugintestXBuilder? footerBuilder,
  9. IndexedWidgetBuilder? separatorBuilder,
  10. plugintestXBuilder? toggleButtonBuilder,
  11. bool showToggleButton = true,
  12. Widget? headerDivider,
  13. Widget? footerDivider,
  14. Duration animationDuration = const Duration(milliseconds: 300),
  15. IconData collapseIcon = Icons.arrow_back_ios_new,
  16. IconData extendIcon = Icons.arrow_forward_ios,
})

Implementation

const PlugintestX({
  Key? key,
  required this.controller,
  this.items = const [],
  this.footerItems = const [],
  this.theme = const plugintestTheme(),
  this.extendedTheme,
  this.headerBuilder,
  this.footerBuilder,
  this.separatorBuilder,
  this.toggleButtonBuilder,
  this.showToggleButton = true,
  this.headerDivider,
  this.footerDivider,
  this.animationDuration = const Duration(milliseconds: 300),
  this.collapseIcon = Icons.arrow_back_ios_new,
  this.extendIcon = Icons.arrow_forward_ios,
}) : super(key: key);