flutter default text style code example
Example: how to use theme style and textstyle together in flutter text widget
Theme.of(context)
.textTheme.display1
.merge(TextStyle(color: Colors.red)
Theme.of(context)
.textTheme.display1
.merge(TextStyle(color: Colors.red)