DefaultTextStyle

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