📜  在内部颤动提升的按钮填充 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:16.556000             🧑  作者: Mango

代码示例1
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'),
  )
)