modules/_modules library

Classes

Alert
AsyncHandler<T>
Log

Enums

LogType

Constants

imageQUALITY → const int

Functions

canDebugPrint(dynamic arg) → dynamic
generateId([String? chars, int? length]) String
generateNumber([int length = 10]) int
getHeight(BuildContext context, [int percent = 100]) double
getWidth(BuildContext context, [int percent = 100]) double
isAccountNumber(String val) String?
return an error message if value does not pass the validation validation requires val: not equal null and length must be more or equal to 10 characters
isDate(dynamic val) String?
return an error message if value does not pass the validation validation requires val: not equal null and the value must a date in this format (DD-MM-YYYY)
isEmail(String? val) String?
return an error message if value does not pass the validation validation requires val: not equal null, must contain @ char, must contain dot(".") and length must be more than 4 characters
isEmailOrTel(String? val) String?
return an error message if value does not pass the validation validation requires val: not equal null, must contain @ char, must contain dot(".") and length must be more than 4 characters
isMoney(String value, num min, num max, {String symbol = "NGN"}) String?
return an error message if value does not pass the validation validation requires val: not equal null and length must be more or equal to 10 characters
isNotNull(String? val) String?
return an error message if value does not pass the validation validation requires val: not equal null
isOtp(String val) String?
isPassword(String? val) String?
return an error message if value does not pass the validation validation requires val: not equal null and length must be more than 7 characters
isPin(String val) String?
return an error message if value does not pass the validation validation requires val: not equal null and length must be more or equal to 4 characters
isTel(String? val) String?
isValidCardExpireYear(String? val) String?
return an error message if value does not pass the validation validation requires val: not equal null
numberToK(num count) String
showSankBar(String text, [BuildContext? context]) → dynamic

Typedefs

AsyncTask<T> = Future<T> Function()