CarpenterConfig constructor

const CarpenterConfig({
  1. Color primary = const Color(0xFF0072CE),
  2. Color accent = const Color(0xFF7C5CFF),
  3. double rem = 16,
  4. double density = 1,
  5. Brightness brightness = Brightness.light,
  6. TargetPlatform? platform,
  7. Locale? locale,
  8. CarpenterColorConfig? color,
  9. CarpenterTypeConfig? type,
  10. CarpenterDimensionConfig? dimension,
})

Создает декларацию visual runtime.

Implementation

const CarpenterConfig({
  this.primary = const Color(0xFF0072CE),
  this.accent = const Color(0xFF7C5CFF),
  this.rem = 16,
  this.density = 1,
  this.brightness = Brightness.light,
  this.platform,
  this.locale,
  this.color,
  this.type,
  this.dimension,
});