Hello,
Currently in Kan ban board in
BoardListsData when i add widget for header and footer as per my requirement,but when i run the code still it takes by default widget which is define in dart file of BoardListsData.
here example code:
KanbanBoard( List.generate( 5, (index) => BoardListsData( title: index == 0 ? "TODO" : index == 1 ? "In Progess" : index == 2 ? "QA In Progress" : index == 3 ? "Back Logs" : "Done", header: Text(index == 0 ? "TODO" : index == 1 ? "In Progess" : index == 2 ? "QA In Progress" : index == 3 ? "Back Logs" : "Done"), footer: SizedBox.fromSize(), backgroundColor: Colors.white, headerBackgroundColor: Colors.white, items: index == 0 ? logic.todoList .map( (item) => TaskCard( item: Text( item, style: textSmallMediumStyle.copyWith( color: Theme.of(context).primaryColorDark, ), ), ), ) .toList() : index == 1 ? logic.inProgressList .map( (item) => TaskCard( item: Text( item, style: textSmallMediumStyle.copyWith( color: Theme.of(context) .primaryColorDark, ), ), ), ) .toList() : logic.completedList .map( (item) => TaskCard( item: Text( item, style: textSmallMediumStyle.copyWith( color: Theme.of(context) .primaryColorDark, ), ), ), ) .toList(), ), ), listDecoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.circular(16.0), ), onItemLongPress: (cardIndex, listIndex) { print("tap"); }, onItemReorder: (oldCardIndex, newCardIndex, oldListIndex, newListIndex) {}, onListLongPress: (listIndex) {}, onListReorder: (oldListIndex, newListIndex) {}, onItemTap: (cardIndex, listIndex) {}, onListTap: (listIndex) {}, onListRename: (oldName, newName) {}, backgroundColor: COLOR_BACKGROUND_DARK, textStyle: textBodyStyle.copyWith( color: Theme.of(context).primaryColor, fontSize: 18), );
![Screenshot from 2023-10-17 17-46-17](https://private-user-images.githubusercontent.com/108463367/275831665-26f06d3c-660f-48d8-9232-b128a1770c7c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY1NzYzNDAsIm5iZiI6MTcxNjU3NjA0MCwicGF0aCI6Ii8xMDg0NjMzNjcvMjc1ODMxNjY1LTI2ZjA2ZDNjLTY2MGYtNDhkOC05MjMyLWIxMjhhMTc3MGM3Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUyNFQxODQwNDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02NGRmMTFiYTIwZGJjYzk3NTYxOGMxYzQ5MTlhNWU4N2U0OWY3ODRmNjgwOGJiYmIyNWFlMDRjOThhZDUzYTA3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ZFoXNvqEP8HCPGWX1SSaA__5qHEigHStVCCt1L0b4hs)