[英]How to change the splashRadius of a BottomNavigationBarItem in Flutter
I am trying to change de splashRadius of a BottomNavigationBarItem in Flutter as if it was an IconButton but there isn't a variable that woks as splashRadius.我正在尝试更改 Flutter 中的 BottomNavigationBarItem 的 de splashRadius,就好像它是一个 IconButton 但没有一个变量可以用作 splashRadius。 Any help?
有什么帮助吗?
You have some styling options in the bar itself , but I don't think it has an option for what I think is a splashRadius.您在栏本身中有一些样式选项,但我认为它没有我认为是 splashRadius 的选项。 If not, you'll probably have to create a bottom navigationbar yourself.
如果没有,您可能必须自己创建一个底部导航栏。 (You can take a look at different packages to see how they do it)
(你可以看看不同的包,看看他们是怎么做的)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.