Create flutter ide android app
Browse files- README.md +8 -5
- index.html +216 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: FlutterFlow Studio for Mobile 📱
|
| 3 |
+
colorFrom: yellow
|
| 4 |
+
colorTo: pink
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://deepsite.hf.co).
|
index.html
CHANGED
|
@@ -1,19 +1,217 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>FlutterFlow Studio for Mobile</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
|
| 11 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 12 |
+
<style>
|
| 13 |
+
.gradient-bg {
|
| 14 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 15 |
+
}
|
| 16 |
+
.code-editor {
|
| 17 |
+
font-family: 'Courier New', monospace;
|
| 18 |
+
background: #1a202c;
|
| 19 |
+
border-radius: 8px;
|
| 20 |
+
}
|
| 21 |
+
.preview-frame {
|
| 22 |
+
background: #f7fafc;
|
| 23 |
+
border-radius: 8px;
|
| 24 |
+
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
|
| 25 |
+
}
|
| 26 |
+
.toolbar-item {
|
| 27 |
+
transition: all 0.3s ease;
|
| 28 |
+
}
|
| 29 |
+
.toolbar-item:hover {
|
| 30 |
+
transform: translateY(-2px);
|
| 31 |
+
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
| 32 |
+
}
|
| 33 |
+
</style>
|
| 34 |
+
</head>
|
| 35 |
+
<body class="min-h-screen bg-gray-50">
|
| 36 |
+
<!-- Navigation -->
|
| 37 |
+
<nav class="bg-white shadow-lg sticky top-0 z-50">
|
| 38 |
+
<div class="max-w-7xl mx-auto px-4">
|
| 39 |
+
<div class="flex justify-between items-center h-16">
|
| 40 |
+
<div class="flex items-center space-x-2">
|
| 41 |
+
<i data-feather="code" class="text-purple-600"></i>
|
| 42 |
+
<span class="font-bold text-xl text-gray-800">FlutterFlow Studio</span>
|
| 43 |
+
</div>
|
| 44 |
+
<div class="flex items-center space-x-4">
|
| 45 |
+
<button class="bg-purple-600 text-white px-4 py-2 rounded-lg hover:bg-purple-700 transition">
|
| 46 |
+
<i data-feather="save" class="w-4 h-4 mr-2 inline"></i>
|
| 47 |
+
Save Project
|
| 48 |
+
</button>
|
| 49 |
+
<button class="bg-green-500 text-white px-4 py-2 rounded-lg hover:bg-green-600 transition">
|
| 50 |
+
<i data-feather="play" class="w-4 h-4 mr-2 inline"></i>
|
| 51 |
+
Run App
|
| 52 |
+
</button>
|
| 53 |
+
</div>
|
| 54 |
+
</div>
|
| 55 |
+
</div>
|
| 56 |
+
</nav>
|
| 57 |
+
|
| 58 |
+
<!-- Main Content -->
|
| 59 |
+
<div class="max-w-7xl mx-auto px-4 py-8">
|
| 60 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
| 61 |
+
<!-- Code Editor Section -->
|
| 62 |
+
<div class="space-y-6">
|
| 63 |
+
<div class="bg-white rounded-xl shadow-lg p-6">
|
| 64 |
+
<div class="flex justify-between items-center mb-4">
|
| 65 |
+
<h2 class="text-xl font-bold text-gray-800">Code Editor</h2>
|
| 66 |
+
<div class="flex space-x-2">
|
| 67 |
+
<button class="p-2 hover:bg-gray-100 rounded">
|
| 68 |
+
<i data-feather="copy"></i>
|
| 69 |
+
</button>
|
| 70 |
+
<button class="p-2 hover:bg-gray-100 rounded">
|
| 71 |
+
<i data-feather="more-vertical"></i>
|
| 72 |
+
</button>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
<div class="code-editor p-4 rounded-lg">
|
| 76 |
+
<pre class="text-green-400 text-sm overflow-auto max-h-96">
|
| 77 |
+
<span class="text-blue-400">import</span> <span class="text-yellow-400">'package:flutter/material.dart'</span>;
|
| 78 |
+
|
| 79 |
+
<span class="text-blue-400">void</span> <span class="text-purple-400">main</span>() {
|
| 80 |
+
<span class="text-purple-400">runApp</span>(<span class="text-blue-400">MyApp</span>());
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
<span class="text-blue-400">class</span> <span class="text-yellow-400">MyApp</span> <span class="text-blue-400">extends</span> <span class="text-yellow-400">StatelessWidget</span> {
|
| 84 |
+
<span class="text-blue-400">@override</span>
|
| 85 |
+
<span class="text-blue-400">Widget</span> <span class="text-purple-400">build</span>(<span class="text-blue-400">BuildContext</span> context) {
|
| 86 |
+
<span class="text-blue-400">return</span> <span class="text-yellow-400">MaterialApp</span>(
|
| 87 |
+
<span class="text-gray-400">title: </span><span class="text-yellow-400">'Flutter Demo'</span>,
|
| 88 |
+
<span class="text-gray-400">home: </span><span class="text-yellow-400">MyHomePage</span>(),
|
| 89 |
+
);
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
<span class="text-blue-400">class</span> <span class="text-yellow-400">MyHomePage</span> <span class="text-blue-400">extends</span> <span class="text-yellow-400">StatelessWidget</span> {
|
| 94 |
+
<span class="text-blue-400">@override</span>
|
| 95 |
+
<span class="text-blue-400">Widget</span> <span class="text-purple-400">build</span>(<span class="text-blue-400">BuildContext</span> context) {
|
| 96 |
+
<span class="text-blue-400">return</span> <span class="text-yellow-400">Scaffold</span>(
|
| 97 |
+
<span class="text-gray-400">body: </span><span class="text-yellow-400">Center</span>(
|
| 98 |
+
<span class="text-gray-400">child: </span><span class="text-yellow-400">Text</span>(<span class="text-yellow-400">'Hello Flutter!'</span>),
|
| 99 |
+
),
|
| 100 |
+
);
|
| 101 |
+
}
|
| 102 |
+
}
|
| 103 |
+
</pre>
|
| 104 |
+
</div>
|
| 105 |
+
</div>
|
| 106 |
+
|
| 107 |
+
<!-- Toolbar -->
|
| 108 |
+
<div class="bg-white rounded-xl shadow-lg p-6">
|
| 109 |
+
<h3 class="text-lg font-semibold text-gray-800 mb-4">Widget Toolbox</h3>
|
| 110 |
+
<div class="grid grid-cols-4 gap-3">
|
| 111 |
+
<div class="toolbar-item bg-blue-50 p-3 rounded-lg text-center cursor-pointer hover:bg-blue-100">
|
| 112 |
+
<i data-feather="square" class="w-6 h-6 mx-auto text-blue-600"></i>
|
| 113 |
+
<p class="text-xs mt-1 text-gray-600">Container</p>
|
| 114 |
+
</div>
|
| 115 |
+
<div class="toolbar-item bg-green-50 p-3 rounded-lg text-center cursor-pointer hover:bg-green-100">
|
| 116 |
+
<i data-feather="type" class="w-6 h-6 mx-auto text-green-600"></i>
|
| 117 |
+
<p class="text-xs mt-1 text-gray-600">Text</p>
|
| 118 |
+
</div>
|
| 119 |
+
<div class="toolbar-item bg-purple-50 p-3 rounded-lg text-center cursor-pointer hover:bg-purple-100">
|
| 120 |
+
<i data-feather="image" class="w-6 h-6 mx-auto text-purple-600"></i>
|
| 121 |
+
<p class="text-xs mt-1 text-gray-600">Image</p>
|
| 122 |
+
</div>
|
| 123 |
+
<div class="toolbar-item bg-red-50 p-3 rounded-lg text-center cursor-pointer hover:bg-red-100">
|
| 124 |
+
<i data-feather="navigation" class="w-6 h-6 mx-auto text-red-600"></i>
|
| 125 |
+
<p class="text-xs mt-1 text-gray-600">Button</p>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
</div>
|
| 130 |
+
|
| 131 |
+
<!-- Preview Section -->
|
| 132 |
+
<div class="space-y-6">
|
| 133 |
+
<div class="bg-white rounded-xl shadow-lg p-6">
|
| 134 |
+
<div class="flex justify-between items-center mb-4">
|
| 135 |
+
<h2 class="text-xl font-bold text-gray-800">Live Preview</h2>
|
| 136 |
+
<div class="flex space-x-2">
|
| 137 |
+
<button class="px-3 py-1 bg-gray-100 rounded text-sm">Phone</button>
|
| 138 |
+
<button class="px-3 py-1 bg-gray-200 rounded text-sm">Tablet</button>
|
| 139 |
+
<button class="px-3 py-1 bg-gray-200 rounded text-sm">Desktop</button>
|
| 140 |
+
</div>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="preview-frame p-8 flex justify-center">
|
| 143 |
+
<div class="w-64 h-96 bg-white border-2 border-gray-300 rounded-3xl overflow-hidden shadow-lg relative">
|
| 144 |
+
<!-- Mock Phone Screen -->
|
| 145 |
+
<div class="bg-purple-600 h-12 flex items-center justify-center">
|
| 146 |
+
<span class="text-white font-semibold">My Flutter App</span>
|
| 147 |
+
</div>
|
| 148 |
+
<div class="p-4 h-full flex items-center justify-center">
|
| 149 |
+
<div class="text-center">
|
| 150 |
+
<i data-feather="smile" class="w-16 h-16 text-purple-600 mx-auto mb-4"></i>
|
| 151 |
+
<h3 class="text-xl font-bold text-gray-800 mb-2">Hello Flutter!</h3>
|
| 152 |
+
<p class="text-gray-600 text-sm">Your app is running perfectly</p>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
<div class="absolute bottom-4 left-4 right-4">
|
| 156 |
+
<button class="w-full bg-purple-600 text-white py-3 rounded-lg font-semibold hover:bg-purple-700 transition">
|
| 157 |
+
Get Started
|
| 158 |
+
</button>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
|
| 164 |
+
<!-- Properties Panel -->
|
| 165 |
+
<div class="bg-white rounded-xl shadow-lg p-6">
|
| 166 |
+
<h3 class="text-lg font-semibold text-gray-800 mb-4">Properties</h3>
|
| 167 |
+
<div class="space-y-4">
|
| 168 |
+
<div>
|
| 169 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Widget Type</label>
|
| 170 |
+
<input type="text" value="Scaffold" class="w-full p-2 border border-gray-300 rounded-lg" readonly>
|
| 171 |
+
</div>
|
| 172 |
+
<div>
|
| 173 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Background Color</label>
|
| 174 |
+
<div class="flex space-x-2">
|
| 175 |
+
<div class="w-8 h-8 bg-white border rounded cursor-pointer"></div>
|
| 176 |
+
<div class="w-8 h-8 bg-purple-600 rounded cursor-pointer border-2 border-purple-700"></div>
|
| 177 |
+
<div class="w-8 h-8 bg-gray-100 rounded cursor-pointer"></div>
|
| 178 |
+
<div class="w-8 h-8 bg-blue-500 rounded cursor-pointer"></div>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
<div>
|
| 182 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Text Content</label>
|
| 183 |
+
<input type="text" value="Hello Flutter!" class="w-full p-2 border border-gray-300 rounded-lg">
|
| 184 |
+
</div>
|
| 185 |
+
</div>
|
| 186 |
+
</div>
|
| 187 |
+
</div>
|
| 188 |
+
</div>
|
| 189 |
+
</div>
|
| 190 |
+
|
| 191 |
+
<!-- Floating Action Button -->
|
| 192 |
+
<div class="fixed bottom-8 right-8">
|
| 193 |
+
<button class="bg-purple-600 text-white p-4 rounded-full shadow-lg hover:bg-purple-700 transition transform hover:scale-110">
|
| 194 |
+
<i data-feather="plus" class="w-6 h-6"></i>
|
| 195 |
+
</button>
|
| 196 |
+
</div>
|
| 197 |
+
|
| 198 |
+
<script>
|
| 199 |
+
// Initialize Vanta.js globe background
|
| 200 |
+
VANTA.GLOBE({
|
| 201 |
+
el: "body",
|
| 202 |
+
mouseControls: true,
|
| 203 |
+
touchControls: true,
|
| 204 |
+
gyroControls: false,
|
| 205 |
+
minHeight: 200.00,
|
| 206 |
+
minWidth: 200.00,
|
| 207 |
+
scale: 1.00,
|
| 208 |
+
scaleMobile: 1.00,
|
| 209 |
+
color: 0x764ba2,
|
| 210 |
+
backgroundColor: 0xf7fafc
|
| 211 |
+
});
|
| 212 |
+
</script>
|
| 213 |
+
<script>
|
| 214 |
+
feather.replace();
|
| 215 |
+
</script>
|
| 216 |
+
</body>
|
| 217 |
</html>
|