this function triggers on click of emptyAction button
final Future<void> Function(String value)? onEmptyActionPressed;