bool isEgyptianNumber(String str) { final phoneRegX = RegExp('^01[0125][0-9]{8}\$'); return phoneRegX.hasMatch(str); }