問題タブ [shrinkwrap]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
104 問題
0
投票する
0
に答える
544
参照
flutter - ShrinkWrap が true の場合、CustomScrollView の SliverAppBar が SliverList の要素の下に表示されるのはなぜですか?
通常、SliverList を下にスライドすると、フローティング SliverAppBar が SliverList の上層に表示されます。
ただし、 の値を に変更するshrinkWrap
と、またはの要素の下に が表示されtrue
ます。SliverAppBar
SliverList
SliverGrid
この問題を解決するにはどうすればよいですか?
コードは次のとおりです。