alert static method
Fonction adaptive Alert
Implementation
static Future alert({@required BuildContext? context, @required VoidCallback? callback}) {
return showDialog(context: context!, builder: (context){
return _isIOS() ? _iOSErrorAlert(context: context, onPressed: callback): _AndroidErrorAlert(context: context, onPressed: callback);
});
}