DNThemeData constructor

const DNThemeData(
  1. DNColorScheme light, {
  2. DNColorScheme? dark,
  3. double fontSize = 16.0,
  4. String? fontFamily,
  5. Map<int, Color> gray = defaultGray,
})

필수 밝은 색상과 선택적 어두운 색상을 사용해 테마 설정을 만든다.

Implementation

const DNThemeData(
  this.light, {
  this.dark,
  this.fontSize = 16.0,
  this.fontFamily,
  this.gray = defaultGray,
});