CustomTheme constructor

CustomTheme(
  1. String key, {
  2. String? background,
  3. String? onBackground,
  4. String? shadow,
  5. String? outline,
  6. String? surface,
  7. String? onSurface,
  8. String? surfaceVariant,
  9. String? onSurfaceVariant,
  10. String? inverseSurface,
  11. String? onInverseSurface,
  12. String? primary,
  13. String? onPrimary,
  14. String? primaryContainer,
  15. String? onPrimaryContainer,
  16. String? inversePrimary,
  17. String? secondary,
  18. String? onSecondary,
  19. String? secondaryContainer,
  20. String? onSecondaryContainer,
  21. String? tertiaryContainer,
  22. String? onTertiaryContainer,
  23. String? error,
  24. String? onError,
  25. String? errorContainer,
  26. String? onErrorContainer,
})

Implementation

CustomTheme(this.key, {this.background, this.onBackground, this.shadow, this.outline, this.surface, this.onSurface, this.surfaceVariant, this.onSurfaceVariant, this.inverseSurface, this.onInverseSurface, this.primary, this.onPrimary, this.primaryContainer, this.onPrimaryContainer, this.inversePrimary, this.secondary, this.onSecondary, this.secondaryContainer, this.onSecondaryContainer, this.tertiaryContainer, this.onTertiaryContainer, this.error, this.onError, this.errorContainer, this.onErrorContainer});