Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BoardListsData- footer & header issue #8

Open
ArtiChauhan04 opened this issue Oct 17, 2023 · 0 comments · May be fixed by #12
Open

BoardListsData- footer & header issue #8

ArtiChauhan04 opened this issue Oct 17, 2023 · 0 comments · May be fixed by #12
Assignees

Comments

@ArtiChauhan04
Copy link

ArtiChauhan04 commented Oct 17, 2023

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), );

  • here my view of board:

Screenshot from 2023-10-17 17-46-17

@1akhanBaheti 1akhanBaheti self-assigned this Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants