CascadePicker constructor

CascadePicker({
  1. required List<String> initialPageData,
  2. required NextPageCallback nextPageData,
  3. int maxPageNum = 3,
  4. required CascadeController controller,
  5. double tabHeight = 40,
  6. Color tabColor = Colors.white,
  7. TextStyle tabTitleStyle = const TextStyle(color: Colors.black, fontSize: 14),
  8. double itemHeight = 40,
  9. Color itemColor = Colors.white,
  10. TextStyle itemTitleStyle = const TextStyle(color: Colors.black, fontSize: 14),
  11. Widget? selectedIcon,
})

Implementation

CascadePicker({
  required this.initialPageData,
  required this.nextPageData,
  this.maxPageNum = 3,
  required this.controller,
  this.tabHeight = 40,
  this.tabColor = Colors.white,
  this.tabTitleStyle = const TextStyle(color: Colors.black, fontSize: 14),
  this.itemHeight = 40,
  this.itemColor = Colors.white,
  this.itemTitleStyle = const TextStyle(color: Colors.black, fontSize: 14),
  this.selectedIcon
});