🙌🏻 立即获取「wordway」,由社区驱动的背单词应用,基于 Flutter 开发。🙌🏻

DefaultTextStyle

Edit this page

The text style to apply to descendant Text widgets without explicit style.

Example

DefaultTextStyle(
  style: TextStyle(
    fontSize: 60,
    color: Colors.blue,
    fontWeight: FontWeight.bold,
  ),
  child: Text('Flutter'),
)

Related Links