PaperKeyFace constructor

const PaperKeyFace({
  1. required Color ink,
  2. required Color wash,
  3. required Color slip,
  4. double outlineWidth = 1.5,
  5. double hatchAlpha = 0.65,
  6. double depth = 1,
  7. double cornerFraction = 0.04,
  8. double grain = 0,
  9. bool lite = false,
  10. bool slashedZero = false,
  11. PaperKeyFace? layoutBase,
})

Implementation

const PaperKeyFace({
  required this.ink,
  required this.wash,
  required this.slip,
  this.outlineWidth = 1.5,
  this.hatchAlpha = 0.65,
  this.depth = 1,
  this.cornerFraction = 0.04,
  this.grain = 0,
  this.lite = false,
  super.slashedZero,
  this.layoutBase,
});