Closed TarishAhmed closed 6 months ago
PaginatedDataTable2 wants the same. Have tried this but nothing about track valid.
data: ThemeData(
scrollbarTheme: ScrollbarThemeData(
thumbColor: MaterialStateProperty.all(Colors.orange),
trackColor: MaterialStateProperty.all(Colors.orange),
trackVisibility: MaterialStateProperty.all(true),
)),
child: PaginatedDataTable2(...```
Any volunteers to submit a PR?
The DataTable2 have the option to show the horizontal and vertical scrollbar letting the user know there is content of the data table that is hidden from the flow and would require a scroll to view, and since AsyncPaginatedDataTable2 does not have this, this table however being much much efficient than DataTable2 for every other task, becomes harder to adopt.
Hello, I've tried this and it works well for paginateddatatable2 and async one.
Theme(
data: ThemeData(
scrollbarTheme: ScrollbarThemeData(
thumbVisibility: MaterialStateProperty.all(true),
)),
child: PaginatedDataTable2(...
@GuHiroo this works perfectly for my use case but by using this code both horizontal and vertical becomes visible
@maxim-saplin could you review this https://github.com/maxim-saplin/data_table_2/pull/261
Fixed in 2.5.11 and pushed to pub.dev. Thx to @TarishAhmed
The DataTable2 have the option to show the horizontal and vertical scrollbar letting the user know there is content of the data table that is hidden from the flow and would require a scroll to view, and since AsyncPaginatedDataTable2 does not have this, this table however being much much efficient than DataTable2 for every other task, becomes harder to adopt.