RetroKeyFace constructor

const RetroKeyFace({
  1. required double travel,
  2. required Color digitSkirt,
  3. required Color operatorSkirt,
  4. required Color equalsSkirt,
  5. required Color functionSkirt,
  6. double cornerFraction = 0.15,
  7. Color highlight = const Color(0x8CFFFFFF),
  8. Color shade = const Color(0x47000000),
  9. Color shadowColor = const Color(0x47000000),
  10. bool slashedZero = false,
  11. 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,
});