import 'package:flutter/material.dart';

import '../../../../routing/app_routes.dart';

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

  @override
  Widget build(BuildContext context) => ListTile(
    leading: const Icon(Icons.apps_outlined),
    title: const Text('Module'),
    subtitle: const Text('Reihenfolge, Sichtbarkeit und Modulleiste anpassen'),
    trailing: const Icon(Icons.arrow_right),
    onTap: () => AppRoutes.openModulesSettings(context),
  );
}
