CalseeKey constructor

const CalseeKey({
  1. required KeyRole role,
  2. required CalseeKeyBuilder builder,
  3. required String semanticLabel,
  4. VoidCallback? onPressed,
  5. VoidCallback? onLongPress,
  6. bool haptics = true,
  7. int artSeed = 0,
  8. Key? key,
})

A key whose content comes from builder.

Implementation

const CalseeKey({
  required this.role,
  required this.builder,
  required this.semanticLabel,
  this.onPressed,
  this.onLongPress,
  this.haptics = true,
  this.artSeed = 0,
  super.key,
});