import 'package:flutter/material.dart';

import '../../core/services/voice_command_handler.dart';

class ManualScreen extends StatelessWidget {
  const ManualScreen({super.key});

  @override
  Widget build(BuildContext context) {
    final commands = VoiceCommandKey.values.map((key) => key.name).toList();
    return Scaffold(
      appBar: AppBar(title: const Text('Manual')),
      body: ListView.separated(
        padding: const EdgeInsets.all(16),
        itemCount: commands.length,
        separatorBuilder: (_, __) => const Divider(height: 1),
        itemBuilder: (context, index) => ListTile(
          leading: const Icon(Icons.record_voice_over),
          title: Text(commands[index]),
        ),
      ),
    );
  }
}
