Answers for "button padding dart"

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

Browse Popular Code Answers by Language