TsaiNumericKeypad¶
A 358×240 four-row digit pad. Keys are 114×60 with radius.lg. The default
key is transparent; the pressed key uses color.surface.1.
TsaiNumericKeypad(
mode: TsaiKeypadMode.decimal,
onDigit: appendDigit,
onDecimal: appendDecimal,
onBackspace: deleteLast,
)
TsaiKeypadMode.integer hides the decimal key. TsaiKeypadMode.pin replaces
it with a biometric action.