depor_os/lib/screens/placeholder_screen.dart

44 lines
1.2 KiB
Dart
Raw Permalink Normal View History

2026-03-18 11:47:06 +00:00
import 'package:flutter/material.dart';
/// Pantalla temporal para rutas pendientes de implementar.
class PlaceholderScreen extends StatelessWidget {
final String title;
final String route;
const PlaceholderScreen({
super.key,
required this.title,
required this.route,
});
@override
Widget build(BuildContext context) {
final cs = Theme.of(context).colorScheme;
final tt = Theme.of(context).textTheme;
return Padding(
padding: const EdgeInsets.all(32),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(title, style: tt.headlineMedium?.copyWith(fontWeight: FontWeight.bold)),
const SizedBox(height: 32),
Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Icon(Icons.construction_outlined, size: 64, color: cs.outline),
const SizedBox(height: 16),
Text(
'Pendiente de implementar',
style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant),
),
],
),
),
],
),
);
}
}