如何避免使用Spesific Widget上的CupertinoApp小部件功能?
我在小部件树的根上使用CupertinoApp小部件,而不是物质app。我喜欢在小部件上具有CupertinoApp的功能。但是在某些情况下,我也想避免在一个spesific小部件上进行此功能。例如,我使用的是一个可以水平滚动的滴定型栏,并且每个项目中都有一个标识符下划线。由于Cupertinoapp小部件,出现了滚动条并溢出标识符下划线。如何避免在特定小部件上的CupertinoApp小部件的功能。
I am using CupertinoApp Widget on the root of my widget tree instead of MaterialApp. I like to have the functionality of CupertinoApp on widgets. But in some cases, I also want to avoid this functionality on a spesific widget. For example, I am using a titleNavigationBar that can be scrollable horizontally, and has a identifier underline in each item. Because of CupertinoApp Widget, a scrollBar is appearing and overflow the identifier underline. How to avoid functionality of cupertinoApp Widget on specific widget.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用RawsCrollbar,并将缩略图设置为您喜欢的任何颜色。
You can use RawScrollbar instead and set the thumbColor to whatever color you like.