feat: inicial estrutura do launcher com grid de mini apps (Notícias, Clima, Notas, Calendário, Calculadora, Galeria)

This commit is contained in:
Carlos
2026-07-11 02:12:14 +02:00
parent c5c68b456a
commit bb16bebe46
4 changed files with 192 additions and 117 deletions
+55
View File
@@ -0,0 +1,55 @@
import 'package:flutter/material.dart';
class MiniApp {
final String title;
final IconData icon;
final Color color;
final String route; // route name for navigation
const MiniApp({
required this.title,
required this.icon,
required this.color,
required this.route,
});
}
// Sample list of mini apps (placeholders for now)
List<MiniApp> miniApps = [
MiniApp(
title: 'Notícias',
icon: Icons.newspaper,
color: Colors.blue,
route: '/news',
),
MiniApp(
title: 'Clima',
icon: Icons.wb_sunny,
color: Colors.orange,
route: '/weather',
),
MiniApp(
title: 'Notas',
icon: Icons.note,
color: Colors.green,
route: '/notes',
),
MiniApp(
title: 'Calendário',
icon: Icons.calendar_today,
color: Colors.red,
route: '/calendar',
),
MiniApp(
title: 'Calculadora',
icon: Icons.calculate,
color: Colors.purple,
route: '/calculator',
),
MiniApp(
title: 'Galeria',
icon: Icons.photo_library,
color: Colors.teal,
route: '/gallery',
),
];