module.exports=[69147,a=>{"use strict";var b=a.i(87924);function c({title:a,description:c,controls:d,output:e}){return(0,b.jsxs)("div",{className:"container mx-auto px-4 py-8 max-w-7xl",children:[(0,b.jsxs)("div",{className:"mb-8",children:[(0,b.jsx)("h1",{className:"text-3xl font-bold tracking-tight text-foreground mb-2",children:a}),(0,b.jsx)("p",{className:"text-muted-foreground",children:c})]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 items-start",children:[(0,b.jsx)("div",{className:"space-y-6",children:(0,b.jsx)("div",{className:"bg-card rounded-2xl border border-border p-6 shadow-sm",children:d})}),(0,b.jsx)("div",{className:"lg:sticky lg:top-24",children:(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsx)("h2",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wider px-1",children:"Generated Output"}),e]})})]})]})}a.s(["ToolLayout",()=>c])},5151,a=>{"use strict";let b=(0,a.i(70106).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);a.s(["Copy",()=>b],5151)},33441,a=>{"use strict";let b=(0,a.i(70106).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);a.s(["Check",()=>b],33441)},11381,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(69147),e=a.i(62258);let f=[{id:"login",name:"Modern Login Page",description:"Clean login screen with email/password fields and social buttons.",code:`class LoginPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Padding(
        padding: const EdgeInsets.all(24.0),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.stretch,
          children: [
            const Text("Welcome Back", style: TextStyle(fontSize: 32, fontWeight: FontWeight.bold)),
            const SizedBox(height: 40),
            TextField(decoration: InputDecoration(labelText: "Email", border: OutlineInputBorder(borderRadius: BorderRadius.circular(12)))),
            const SizedBox(height: 16),
            TextField(obscureText: true, decoration: InputDecoration(labelText: "Password", border: OutlineInputBorder(borderRadius: BorderRadius.circular(12)))),
            const SizedBox(height: 24),
            ElevatedButton(
              onPressed: () {},
              style: ElevatedButton.styleFrom(padding: const EdgeInsets.symmetric(vertical: 16), shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12))),
              child: const Text("LOGIN"),
            ),
          ],
        ),
      ),
    );
  }
}`},{id:"dashboard",name:"Analytics Dashboard",description:"Grid-based dashboard with stats and activity list.",code:`class DashboardPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("Overview"), elevation: 0),
      body: GridView.count(
        crossAxisCount: 2,
        padding: const EdgeInsets.all(16),
        children: [
          _buildStatCard("Users", "1.2k", Colors.blue),
          _buildStatCard("Revenue", "$12k", Colors.green),
          _buildStatCard("Issues", "4", Colors.red),
          _buildStatCard("Tasks", "12", Colors.orange),
        ],
      ),
    );
  }

  Widget _buildStatCard(String title, String value, Color color) {
    return Card(
      elevation: 4,
      shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)),
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Text(title, style: TextStyle(color: color, fontWeight: FontWeight.bold)),
          const SizedBox(height: 8),
          Text(value, style: const TextStyle(fontSize: 24, fontWeight: FontWeight.bold)),
        ],
      ),
    );
  }
}`},{id:"onboarding",name:"Onboarding Slider",description:"Simple horizontal slider for feature walkthroughs.",code:`class OnboardingPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: PageView(
        children: [
          _buildStep("Feature 1", "Discover amazing things on this app."),
          _buildStep("Feature 2", "Connected with millions of users."),
          _buildStep("Get Started", "Ready to explore? Join now!"),
        ],
      ),
    );
  }

  Widget _buildStep(String title, String desc) {
    return Center(
      child: Padding(
        padding: const EdgeInsets.all(32.0),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            const Icon(Icons.rocket_launch, size: 80, color: Colors.blue),
            const SizedBox(height: 32),
            Text(title, style: const TextStyle(fontSize: 28, fontWeight: FontWeight.bold)),
            const SizedBox(height: 16),
            Text(desc, textAlign: TextAlign.center, style: const TextStyle(color: Colors.grey)),
          ],
        ),
      ),
    );
  }
}`}];function g(){let[a,g]=(0,c.useState)(f[0]);return(0,b.jsx)(d.ToolLayout,{title:"Flutter UI Templates",description:"Grab ready-to-use, high-quality Flutter layouts and components to speed up your development.",controls:(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsx)("span",{className:"text-xs font-bold text-muted-foreground uppercase tracking-widest block mb-2",children:"Available Categories"}),f.map(c=>(0,b.jsxs)("button",{onClick:()=>g(c),className:`w-full p-6 rounded-2xl border text-left transition-all duration-300 ${a.id===c.id?"bg-primary/10 border-primary shadow-lg ring-1 ring-primary/20":"bg-card border-border hover:border-primary/50"}`,children:[(0,b.jsxs)("div",{className:"flex justify-between items-start mb-2",children:[(0,b.jsx)("h3",{className:`font-bold ${a.id===c.id?"text-primary":"text-foreground"}`,children:c.name}),(0,b.jsx)("span",{className:"text-[10px] px-2 py-0.5 rounded-full bg-secondary text-muted-foreground",children:"FLUTTER"})]}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground line-clamp-2 leading-relaxed",children:c.description})]},c.id)),(0,b.jsx)("div",{className:"p-4 mt-8 bg-accent/5 rounded-xl border border-accent/20",children:(0,b.jsx)("p",{className:"text-xs text-muted-foreground text-center italic",children:"More templates coming soon (Profile, Settings, Cart, etc.)"})})]}),output:(0,b.jsx)(e.CodeOutput,{code:a.code})})}a.s(["default",()=>g])}];

//# sourceMappingURL=_7b3c1c74._.js.map