getLightTheme method

ThemeData getLightTheme ()

Returns the default light theme if system theme settings are honored and returns getCustomTheme if the system theme settings are not honored.

Implementation

ThemeData getLightTheme() {
  if (useSystem) {
    return lightTheme;
  } else {
    return getCustomTheme();
  }
}