mirrored_repositories/nomdebebe/app/lib/screens
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:nomdebebe/keys.dart';
import 'package:nomdebebe/main.dart';

class DislikedNames extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return ListTile(
        key: Keys.settingsDisliked,
        title: Text("Disliked names"),
        trailing: Icon(FontAwesomeIcons.chevronRight),
        leading: Icon(FontAwesomeIcons.solidThumbsDown),
        onTap: () => context
            .findAncestorStateOfType<ScreenContainerState>()
            ?.navigatorKey
            .currentState
            ?.pushNamed("disliked"));
  }
}
