maxim-saplin / data_table_2

In-place substitute for Flutter's DataTable and PaginatedDataTable with fixed/sticky header and extra features
https://pub.dev/packages/data_table_2
BSD 3-Clause "New" or "Revised" License
203 stars 140 forks source link

specificRowHeight of DataRow2 does not work properly in AsyncDataTableSource #205

Closed khwgit closed 1 year ago

khwgit commented 1 year ago

https://github.com/maxim-saplin/data_table_2/blob/c9c88feabc64f1af2e06d7fb9940f20abc95247d/lib/src/async_paginated_data_table_2.dart#L71-L81

In the clone method of AsyncDataTableSource, specificRowHeight is not copied, which will reset it to the default height when the row is selected.

maxim-saplin commented 1 year ago

Fixed and pushed to pub.dev.