Browse Source

title component

juan 3 months ago
parent
commit
2fdd0a4d66
1 changed files with 23 additions and 4 deletions
  1. 23 4
      lib/api_service.dart

+ 23 - 4
lib/api_service.dart

@@ -400,11 +400,30 @@ class _EmailViewState extends State<EmailView> {
       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',
-      ),
+            ),
+          )
+        ],
+      )
     );
   }
 }