RetroKeyFace constructor
const
RetroKeyFace({
- required double travel,
- required Color digitSkirt,
- required Color operatorSkirt,
- required Color equalsSkirt,
- required Color functionSkirt,
- double cornerFraction = 0.15,
- Color highlight = const Color(0x8CFFFFFF),
- Color shade = const Color(0x47000000),
- Color shadowColor = const Color(0x47000000),
- bool slashedZero = false,
- RetroKeyFace? layoutBase,
Implementation
const RetroKeyFace({
required this.travel,
required this.digitSkirt,
required this.operatorSkirt,
required this.equalsSkirt,
required this.functionSkirt,
this.cornerFraction = 0.15,
this.highlight = const Color(0x8CFFFFFF),
this.shade = const Color(0x47000000),
this.shadowColor = const Color(0x47000000),
super.slashedZero,
this.layoutBase,
});