copyWith method
This theme with the fields given replaced.
Implementation
CliTheme copyWith({
ThemeData? data,
Style? detail,
Style? info,
Style? success,
Style? warning,
Style? error,
Style? alert,
Style? question,
Style? answer,
Style? hint,
}) => CliTheme(
data: data ?? this.data,
detail: detail ?? _detail,
info: info ?? _info,
success: success ?? _success,
warning: warning ?? _warning,
error: error ?? _error,
alert: alert ?? _alert,
question: question ?? _question,
answer: answer ?? _answer,
hint: hint ?? _hint,
);