我是 flutter 的初學者,我不得不做一些必需的事情,所以我的問題是我如何將所有這些小部件放在應用欄小部件的輸出頂部:

我想重新創建:

uj5u.com熱心網友回復:
為此,您必須使用 Stack 小部件。堆疊小部件用于將一個小部件放在另一個小部件的頂部。
Stack(
children: [
Container(color: Colors.blue),// your blue container here
Column( //your entire column here
children: [ .... ],
),
],
),
uj5u.com熱心網友回復:
您可以在此處使用堆疊檢查堆疊官方檔案
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/360795.html
