当FlexibleSpace被折叠时,我想要更改SliverAppBar中的标题填充。有办法做到这一点吗?Scaffold( slivers: <Widget>[ expandedHeightflexibleSpace: const FlexibleSpaceBar(
//I want to change the padding to 40 when the Sliv
问题是当它被展开时,标题和图标(引导和动作)应该是白色的,这样才能被正确地看到,而当它被折叠时,它们应该变成黑色。谢谢。SliverExampleState extends State<SliverExample> {
// To determine if SliverAppBarwidget is dark