带有persistent_bottom_nav_bar的透明磁带
我正在使用persistent_bottom_nav_bar
软件包:
完全可以做我想要的,除了缺少重要的脚手架
函数:
extendBody: true
软件包告诉我以下内容:
注意:此小部件包括脚手架(基于CupertinotabScaffold), 因此无需声明。
我正在寻找能够拥有扩展的解决方案:true
在使用此软件包时
I am using persistent_bottom_nav_bar
package:
https://pub.dev/packages/persistent_bottom_nav_bar
which does exactly what I want, except it is missing an important Scaffold
function:
extendBody: true
The package tells me the following:
NOTE: This widget includes SCAFFOLD (based on CupertinoTabScaffold),
so no need to declare it.
I am looking for a solution to be able have extendedBody: true
while using this package
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以做的就是修改软件包,然后将此属性添加到内置的脚手架中。
1-转到包装目录,示例:
2-将软件包复制到您的项目(整个PackageFolderName,并使用
pubspec.yaml
>)粘贴相同级别)3-修改软件包的代码,即找到该软件包的代码脚手架并添加属性
4-修改项目的
pubspec.yaml
,然后将软件包的路径更改为5-保存
pubspec.yaml
What you can do is modify the package, and add this property to the built-in scaffold.
1- Go to the package directory, example:
2- Copy the Package to your project (the whole PackageFolderName, and paste at same level with
pubspec.yaml
)3- Modify the Package's code, i.e. find the Scaffold and add the property
4- Modify your Project's
pubspec.yaml
and change the path of the package to5- Save your
pubspec.yaml