Profile

Join date: Aug 18, 2022

About

How to use the shape in RaisedButton in Flutter?

If you want to get something fancier, it is highly recommended to use the Image for the background of RaisedButton, and then you can use an ExImage for the icon. shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(18.0), side: BorderSide(color: Theme.of(context).primaryColor), ), round raisedbutton in flutter By Tough Tarantula on Aug 29, 2020 RaisedButton( onPressed: () {}, color: Colors.amber, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(10)), child: Text("Click This"), ) Basic RaisedButton is a simple widget that could be used to implement an awesome UI on the screen.


abakhsh

More actions