CascadePicker constructor
CascadePicker({
- required List<
String> initialPageData, - required NextPageCallback nextPageData,
- int maxPageNum = 3,
- required CascadeController controller,
- double tabHeight = 40,
- Color tabColor = Colors.white,
- TextStyle tabTitleStyle = const TextStyle(color: Colors.black, fontSize: 14),
- double itemHeight = 40,
- Color itemColor = Colors.white,
- TextStyle itemTitleStyle = const TextStyle(color: Colors.black, fontSize: 14),
- 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
});