start functions test

This commit is contained in:
Valentin CZERYBA 2022-09-17 23:01:11 +02:00
parent c2e260293c
commit 2aeacb034b

View File

@ -120,6 +120,17 @@ class _LoginDemoState extends State<LoginDemo> with ShowErrorDialog {
}
}
void start() async {
SharedPreferences prefs = await SharedPreferences.getInstance();
stderr.writeln(prefs.getString("jwt"));
}
@override
void initState() {
start();
super.initState();
}
@override
Widget build(BuildContext context) {
return Scaffold(