commons library

Properties

networkImage String
no setter

Functions

changeLang(BuildContext context, String newLocale) → void
distanceBetween(double startLatitude, double startLongitude, double endLatitude, double endLongitude) double
return result in meter
emailValidation(String? value) bool
enumToString<T>(T value) String
getAddress() String
getApplicationVersion() Future<Map<String, String>>
keys => code, number
getBool() bool
getColor() Color
getCompanyName() String
getCoordinates() → LatLng
getDescription() String
getDeviceName() Future<String>
getDeviceToken() Future<String?>
getDouble({int min = 0, int max = 100}) double
getHeight(int percent) double
getImage(String imagePath) String
getInt({int min = 0, int max = 100}) int
getMarkerIcon(String imagePath) Future<BitmapDescriptor>
getSize(double size) double
getSvgImage() String
getUserName() 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