Question : elevated button shape flutter
Answered by : augusto-vicente
style: ButtonStyle( shape: MaterialStateProperty.all<RoundedRectangleBorder>( RoundedRectangleBorder( borderRadius: BorderRadius.circular(18.0), side: BorderSide(color: Colors.red) ) )
)
Source : https://stackoverflow.com/a/57482106/13384755 | Last Update : Tue, 23 Mar 21
Question : Flutter Elevated button color
Answered by : proud-polecat-nusd16z3cvyo
ElevatedButton( child: Text('Button'), onPressed: () {}, style: ButtonStyle( backgroundColor: MaterialStateProperty.all(Colors.red), padding: MaterialStateProperty.all(EdgeInsets.all(50)), textStyle: MaterialStateProperty.all(TextStyle(fontSize: 30))),
),
Source : https://stackoverflow.com/questions/66835173/how-to-change-background-color-of-elevated-button-in-flutter-from-function | Last Update : Tue, 08 Jun 21
Question : raisedbutton shape flutter
Answered by : raksha-deshmukh
shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(18.0), side: BorderSide(color: Theme.of(context).primaryColor),
),
Source : | Last Update : Mon, 15 Feb 21