Read the app's MaterialApp theme in compile. When false, the constructor's theme is used as is.
MaterialApp
theme
final bool extractTheme;