Flutter textfield标签颜色

代码示例

2
0

彩色textfield文本扑

TextField(
  style: TextStyle(color: Colors.white),
  ...
)
1
0

文本字段占位符颜色扑主题

ThemeData( 
  // (...)
  hintStyle: TextStyle(
     color: Colors.grey, // <-- Change this
     fontSize: null,
     fontWeight: FontWeight.w400,
     fontStyle: FontStyle.normal,
     ),
);
0
0

flutter textfield标签颜色

labelStyle: TextStyle(
	color: Colors.white,
)

其他语言

此页面有其他语言版本

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................