ElevatedButton.icon(
onPressed: null,
label: Text("Close"),
icon: Icon(Icons.close),
)

如圖所示,圖示在左邊,文字在右邊。我該怎么做相反的事情?
uj5u.com熱心網友回復:
包裹
ElevatedButton.icon
和
Directionality
并制作方向 rtl
uj5u.com熱心網友回復:
它可能不是最好的解決方案,但您可以切換label和icon值。
label: Icon(Icons.close),
icon: Text('Close'),
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/523380.html
標籤:扑镖
