import '../../../../../../food_delivery_client.dart';

class WFiltersSort extends StatelessWidget with FilterMixins {
  WFiltersSort({super.key});

  @override
  Widget build(BuildContext context) {
    final List<String> filterSortTitles = [
      context.loc.pickedForYouDefault,
      context.loc.mostPopular,
      context.loc.topRated,
      context.loc.fast,
    ];
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        Text(
          context.loc.sort,
          style: AppTextStyles.size18Medium,
        ).paddingSymmetric(horizontal: 20),
        15.verticalSpace,
        Column(
          children: List.generate(filterSortTitles.length, (index) {
            return AppListTile(
              onPressed: () {},
              isSelected: false,
              svgPath: filterSortSvgs[index],
              title: filterSortTitles[index],
            );
          }),
        ),

        // AppListTile(
        //   onPressed: () {},
        //   isSelected: true,
        //   svgPath: AppIcons.icPicked,
        //   title: context.loc.pickedForYouDefault,
        // ),
        // AppListTile(
        //   onPressed: () {},
        //   isSelected: false,
        //   svgPath: AppIcons.icMostPopular,
        //   title: context.loc.popular,
        // ),
        // AppListTile(
        //   onPressed: () {},
        //   isSelected: false,
        //   svgPath: AppIcons.icStar,
        //   title: context.loc.topRated,
        // ),
        // AppListTile(
        //   onPressed: () {},
        //   isSelected: false,
        //   svgPath: AppIcons.icClock,
        //   title: context.loc.fast,
        // ),
      ],
    );
  }
}
