CarpenterConfig constructor
const
CarpenterConfig({
- Color primary = const Color(0xFF0072CE),
- Color accent = const Color(0xFF7C5CFF),
- double rem = 16,
- double density = 1,
- Brightness brightness = Brightness.light,
- TargetPlatform? platform,
- Locale? locale,
- CarpenterColorConfig? color,
- CarpenterTypeConfig? type,
- 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,
});