commons library Null safety

Constants

networkImage → const String
'https://source.unsplash.com/random'

Functions

emailValidation(String? value) bool
enumToString<T>(T value) String
getApplicationVersion() Future<Map<String, String>>
keys => code, number
getDeviceName() Future<String>
getDeviceToken() Future<String?>
getHeight(int percent) double
getImage(String imagePath) String
getWidth(int percent) double
hideStatusBar() → void
passwordValidation(String? value) bool
phoneValidation(String? value) bool
pop({dynamic result}) Future
preventLandScapeMode() → void
printWrapped(String text) → void
push<T extends ChangeNotifier>(Widget screen, [T? provider]) Future
pushClear<T extends ChangeNotifier>(Widget screen, [T? provider]) → void
pushReplacement<T extends ChangeNotifier>(Widget screen, [T? provider]) → void
replaceFarsiNumber(String input) String
sameValidation(String? value, String secondValue) bool
textValidation(String? value) bool