Closed DimaOstrovskyiEk closed 1 year ago
@maxim-saplin I tried to play with themes. On android this managed to disable horizontal scrollbar, but not on IOS.
@maxim-saplin After reviewing your code, I found Scrollbar. If you want to not show it, add a condition on which you will render it. Or use RawScrollbar with
thumbColor: Colors.transparent,
trackColor: Colors.transparent
or thickness: 0
There're actually plenty of scroll views with scrollbars and scroll configurations which are there to mae fixed cols/rows happen and frankly speaking it is the part I was always affraid of to touch... I don't think the approach of surfacing some property will be a good approach for all use cases. I beleive themes should work and they worked on most platforms, except iOS... Need some time to look closer at what's in the code
For the record, Scrollbar internally picks to use either Material or Cupertino scrollbar, the letter one ignores style: https://github.com/flutter/flutter/issues/36603
@DimaOstrovskyiEk could you please check master branch, I've added fixes that:
@maxim-saplin Great news! Thanks for the quick response.
@maxim-saplin Do I need to wait a bit for the changes to appear on pub.dev?
Haven't published yet, try referencing github from pubspec directly
Pushed to pub.dev
No option to disable the visible horizontal scrollbar on IOS with DataTable2