Use the SizedBox widget, which enforces the child to match its parent size: SizedBox.expand( child: new RaisedButton(...), ). Using the width or height it ...
確定! 回上一頁