buildTheme method

  1. @override
ThemeData buildTheme(
  1. Brightness brightness
)
override

Implementation

@override
ThemeData buildTheme(Brightness brightness) => ThemeData(
      colorScheme: (scheme ??
              ContrastedColorScheme(
                  light: ColorSchemes.lightZinc(),
                  dark: ColorSchemes.darkZinc()))
          .scheme(brightness)
          .spin(spin)
          .contrast(contrast),
      radius: radius,
      scaling: scaling,
      surfaceOpacity: surfaceOpacity,
      surfaceBlur: surfaceBlur,
    );