LogTheme constructor

const LogTheme({
  1. LogStyle? detail,
  2. LogStyle? info,
  3. LogStyle? err,
  4. LogStyle? warn,
  5. LogStyle? alert,
  6. LogStyle? success,
})

A theme object which contains styles for all log message types.

Implementation

const LogTheme({
  LogStyle? detail,
  LogStyle? info,
  LogStyle? err,
  LogStyle? warn,
  LogStyle? alert,
  LogStyle? success,
})  : detail = detail ?? _detailStyle,
      info = info ?? _infoStyle,
      err = err ?? _errStyle,
      warn = warn ?? _warnStyle,
      alert = alert ?? _alertStyle,
      success = success ?? _successStyle;