added support for custom addon collections
This commit is contained in:
1 parent
7c4662a7be
commit
751e22ac5e
20 files changed
+423
-41
No files matched your search
@@ -47,3 +47,11 @@ String? validateUrl(
|
||||
|
||||
return 'Inavlid URL';
|
||||
}
|
||||
|
||||
String? validateRequired(String? value, {String message = 'Value required'}) {
|
||||
if (value.isNotEmpty) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return message;
|
||||
}
|
||||
Reference in new issue
Block a user