Add mailer listener
This commit is contained in:
parent
ab32d8f471
commit
1351130f83
4 changed files with 184 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
import 'package:desktopapp/classes/routes.dart';
|
||||
import 'package:desktopapp/utils/mailer.dart';
|
||||
import 'package:desktopapp/utils/requests.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
@ -44,6 +45,9 @@ class HomePage extends StatelessWidget {
|
|||
}
|
||||
},
|
||||
child: const Text('Envoyer une alerte de test')),
|
||||
TextButton(
|
||||
onPressed: () => Mailer.mailExample(),
|
||||
child: const Text('Test email')),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue