validatePassword method

String? validatePassword(
  1. String? value,
  2. BuildContext context
)

Implementation

String? validatePassword(String? value, BuildContext context) {
  if (value == null || value.isEmpty) {
    return Translations.of(context).enterGroupPassword;
  }
  return null;
}