PueTheme constructor

PueTheme({
  1. required BuildContext context,
  2. double gutters = PueConstants.defaultGutters,
  3. TextStyle? headerTextStyle,
  4. TextStyle? headerSubtextStyle,
  5. Widget? background,
})

Implementation

PueTheme({
  required this.context,
  this.gutters = PueConstants.defaultGutters,
  // this.maxWidth = PueConstants.defaultMaxWidth,
  this.headerTextStyle,
  this.headerSubtextStyle,
  this.background,
}) {
  headerTextStyle = Theme.of(context).textTheme.headline6;
  headerSubtextStyle = Theme.of(context).textTheme.bodyText1;
  background =
      PueBackground(colour: Theme.of(context).scaffoldBackgroundColor);
}