From 7de585d50f1feee7334a5f115e25238fad592ec8 Mon Sep 17 00:00:00 2001 From: Nikola Date: Sat, 28 Dec 2019 00:57:32 +0100 Subject: [PATCH] Change title in example --- example/lib/main.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index b6f5267..2741925 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -38,7 +38,10 @@ class _MyAppState extends State { _previewData(PreviewResponse previewResponse) { if (previewResponse.status == PreviewStatus.success) { - _linkTitle = previewResponse.title; + setState(() { + _linkTitle = previewResponse.title; + }); + print('==============================================='); print('Received status: ${previewResponse.status}'); print('Received title: ${previewResponse.title}');