I have seen that I can\'t set the width of a RaisedButton in Flutter. If I have well understood, I should put the RaisedButton into a SizedBox
RaisedButton
SizedBox
My preferred way to make Raise button with match parent is that wrap it with Container. below is sample code.
Container( width: double.infinity, child: RaisedButton( onPressed: () {}, color: Colors.deepPurpleAccent[100], child: Text( "Continue", style: TextStyle(color: Colors.white), ), ), )