From 2fdd0a4d667901a4d161cdd8524fae8f7efbabef Mon Sep 17 00:00:00 2001 From: juan Date: Mon, 12 Aug 2024 12:13:48 -0400 Subject: [PATCH] title component --- lib/api_service.dart | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/lib/api_service.dart b/lib/api_service.dart index 59fffae..876eaa0 100644 --- a/lib/api_service.dart +++ b/lib/api_service.dart @@ -400,11 +400,30 @@ class _EmailViewState extends State { appBar: AppBar( title: Text(widget.name), ), - body: HtmlElementView( - key: iframeKey, - viewType: iframeKey.toString(), + body: Column( + children: [ + // Container( + // color: Colors.amber, + // child: Text( + // widget.from ,), + // ), + Row( + children: [ + Text( + widget.subject, + style: TextStyle(fontSize: 30), + ), + ], + ), + Expanded( + child: HtmlElementView( + key: iframeKey, + viewType: iframeKey.toString(), // 'html-view33', - ), + ), + ) + ], + ) ); } }