How to change Scrollbar’s thickness?

Posted by Editorial Staff | Updated on

Want to change Scrollbar’s thickness? I found a relatively simple workaround which to wrap the Scrollbar in a Stack widget and add to Stack a Container which will hide part of the Scrollbar. There will be a small ‘white’ margin in the right edge of the screen but you will see similar margin e.g. in OS settings views (at least in Galaxy S7 settings app). Sample code (notice that this is for Android only, not tested in iOS):

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers