Error widget builder of Pinput
typedef PinputErrorBuilder = Widget Function(String? errorText, String pin);