Answers for "how to put padding with elevated button on flutter"

2

flutter elevated button padding inside

ElevatedButton(
  onPressed: () {
    // Validate will return true if the form is valid, or false if
    // the form is invalid.
    if(_formKey.currentState.validate()) {
    	// Process data.
    }
  },
  child: Padding(
  	padding: const EdgeInsets.symmetric(vertical: 15.0, horizontal: 10),
	child: Text('Entrar'),
  )
)
Posted by: Guest on March-16-2021

Code answers related to "how to put padding with elevated button on flutter"

Browse Popular Code Answers by Language