TalkerScreenTheme.fromTheme constructor

TalkerScreenTheme.fromTheme(
  1. ThemeData theme, [
  2. LogColors? logColors
])

Implementation

factory TalkerScreenTheme.fromTheme(ThemeData theme, [LogColors? logColors]) {
  return TalkerScreenTheme(
    backgroundColor: theme.colorScheme.surface,
    textColor: theme.colorScheme.onSurface,
    cardColor: theme.colorScheme.surface,
    logColors: logColors,
  );
}