Slide 23
Slide 23 text
If TextStyle is nested, the closest TextStyle is used.
This is because the closest TextStyle to the context given to DefaultTextStyle.of(context) is
taken and used in the text widget.
TextStyle
23
DefaultTextStyle
.of(context)
DefaultTextStyle
(InheritedWidget)
dependOnInheritedWidgetOfExactType