mirrored_repositories/CMP-FIFA-World-Cup-Booking/lib/utils
part of app_mixins;

/// use this mixin for all form field
mixin ValidatorMixin {
  // example :
  // String? validateTextFieldIsRequired(String? value) {
  //   if (value == null || value.trim().isEmpty) return "this field is required";
  //   return null;
  // }

  // String? validateDropdownIsRequired(String? value) {
  //   if (value == null || value.trim().isEmpty) return "please select item";
  //   return null;
  // }
}
