我有一个文本字段,我想更改它的字体大小,因为我的应用程序适用于 iPad 和手机。文本字段的字体大小适合手机,但对于 iPad 来说太小。我怎样才能改变它?
我尝试更改 ElevatedButton 的背景颜色,但出现错误。我怎样才能改变它?
ElevatedButton(
onPressed: null,
style: ButtonStyle(backgroundColor: Colors.red), // Error
}
Run Code Online (Sandbox Code Playgroud)