materialTheme property

ThemeData get materialTheme

Implementation

ThemeData get materialTheme {
  return ThemeData(
    primaryColor: primary,
    colorScheme: ColorScheme(
      primary: primary,
      secondary: secondary,
      surface: surface,
      onSurface: foreground1,
      onPrimary: onPrimary,
      onSecondary: onSecondary,
      brightness: brightness,
      error: error,
      onError: foreground1,
    ),
  );
}