A simple regex to validate sudan mobile numbers.
249
get: | |
flutter pub get | |
outdated: | |
flutter pub outdatedd | |
upgrade: | |
flutter pub upgrade | |
test: |
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
import 'package:async/async.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
final RouteObserver<PageRoute> routeObserver = RouteObserver<PageRoute>(); |
extension IntGapExtension on int { | |
/// Vertical gap | |
SizedBox get gv => SizedBox(height: toDouble()); | |
/// Horizontal gap | |
SizedBox get gh => SizedBox(width: toDouble()); | |
} | |
extension DoubleGapExtension on double { | |
/// Vertical gap |
/// Creates padding from int using extension | |
extension IntPaddingExtension on int { | |
/// Padding | |
EdgeInsets get p => EdgeInsets.all(toDouble()); | |
/// Top padding | |
EdgeInsets get pt => EdgeInsets.only(top: toDouble()); | |
/// Left padding |