📅  最后修改于: 2022-03-11 14:59:49.837000             🧑  作者: Mango
TextButton(
onPressed: () {
print('I got clicked');
},
child: Text('Button'),
style: TextButton.styleFrom(
primary: Colors.white,
textStyle: TextStyle(fontSize: 20.0),
backgroundColor: Colors.red),
),