Answers for "how to set width and height of elevated button in flutter"

0

how to change the height of elevated button fluttter

ElevatedButton(
   style: ElevatedButton.styleFrom(
     minimumSize: Size(150, 48), // takes postional arguments as width and height
   ),
 ),
              
              OR
   // Wrap the ElevatedButton inside a SizedBox or a Container and set your with and height
Posted by: Guest on July-19-2021
0

elevated button size flutter

ElevatedButton(
    style: ElevatedButton.styleFrom(
    minimumSize: const Size(200, 50),
    maximumSize: const Size(200, 50),
    ),
onPressed: () {},
child: Text('ElevatedButton')),
Posted by: Guest on September-08-2021

Code answers related to "how to set width and height of elevated button in flutter"

Browse Popular Code Answers by Language