From 2aeacb034be718a26cdb64c912166dae2a343789 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 17 Sep 2022 23:01:11 +0200 Subject: [PATCH] start functions test --- covas_mobile/lib/main.dart | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/covas_mobile/lib/main.dart b/covas_mobile/lib/main.dart index c9ddb2c..7bb6088 100644 --- a/covas_mobile/lib/main.dart +++ b/covas_mobile/lib/main.dart @@ -120,6 +120,17 @@ class _LoginDemoState extends State 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(