Browse Source

augment init

juan 3 months ago
parent
commit
79c19abbc9
1 changed files with 29 additions and 0 deletions
  1. 29 0
      lib/augment.dart

+ 29 - 0
lib/augment.dart

@@ -0,0 +1,29 @@
+import 'package:flutter/material.dart';
+import 'package:http/http.dart' as http;
+import 'dart:convert';
+import 'dart:ui_web' as ui;
+import 'dart:html' as html;
+
+class EmailToolbar extends StatelessWidget {
+  final VoidCallback onButtonPressed;
+
+  const EmailToolbar({Key? key, required this.onButtonPressed}) : super(key: key);
+
+  @override
+  Widget build(BuildContext context) {
+    return Row(
+      children: [
+        ElevatedButton(
+          onPressed: onButtonPressed,
+          child: Text('Home'),
+        ),
+        SizedBox(width: 8),
+        ElevatedButton(
+          onPressed: onButtonPressed,
+          child: Text('Reload'),
+        ),
+      
+      ],
+    );
+  }
+}