fromScheme static method

ContrastedColorScheme fromScheme(
  1. ColorScheme func(
    1. ThemeMode mode
    )
)

Implementation

static ContrastedColorScheme fromScheme(
        ColorScheme Function(ThemeMode mode) func) =>
    ContrastedColorScheme(
      light: func(ThemeMode.light),
      dark: func(ThemeMode.dark),
    );